CappielloAntonio / tempo

An open source and lightweight music client for Subsonic, designed and built natively for Android.
GNU General Public License v3.0
1.05k stars 49 forks source link

[BUG] - Replay gain not being applied to files transcoded to Ogg Vorbis #114

Open michael-ball opened 9 months ago

michael-ball commented 9 months ago

Describe the bug

Switching the replay gain mode in Tempo between "Auto", "Track", "Album" and "Disabled" produces no audible volume gain change at all, even on tracks where I know there are large differences between track and album gain values. I have set Tempo up to prefer server settings for transcoding, which transcodes to Ogg Vorbis format and preserves the replaygain tags in the trancoded output, and I've verified the replaygain tags are present in the files Tempo has downloaded.

Expected behavior

I expect that the volume would be adjusted by either the track or album gain values, depending on the replay gain mode selected in Tempo.

To Reproduce

  1. Set replay gain mode to "Disabled"
  2. Play a track with replaygain tags
  3. Set replay gain mode to "Track"
  4. Observe the output volume of the track is not adjusted, even after stopping and resuming Tempo

Environment

michael-ball commented 9 months ago

How can I generate logs that would help diagnose this problem?

codenamek83 commented 9 months ago

@michael-ball, I am experiencing the same issue. I have tried Opus, MP3, and M4A, and I am not encountering any issues on the web player or desktop player. IIRC, this was working well in the previous version.