-
Notifications
You must be signed in to change notification settings - Fork 346
-
Notifications
You must be signed in to change notification settings - Fork 346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Strange volume levels when replay_gain_handler is specified as "mixer" #1778
Comments
as Janui mentioned in the closed issue #1785, when we set the replay_gain_handler to mixer and dissimilar file types are played, the volume can go to 100%. This is undesirable. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The track I am playing:
># metaflac --show-tag=REPLAYGAIN_TRACK_GAIN --show-tag=REPLAYGAIN_ALBUM_GAIN "/mnt/MPD/NAS/Music/Paco De Lucía/Fuente Y Caudal/03 Reflejo De Luna (Granaína).flac"
REPLAYGAIN_TRACK_GAIN=-1.91 dB
REPLAYGAIN_ALBUM_GAIN=-3.86 dB
Expected Behavior
I would expect the volume control to be adjusted by the decibels specified in the gain replay tags.
Actual Behavior
># amixer -c 1 sget "Digital"
Simple mixer control 'Digital',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 207
Mono:
Front Left: Playback 184 [89%] [-11.50dB] [on]
Front Right: Playback 184 [89%] [-11.50dB] [on]
Version
># uname -a
Linux hifi 6.1.13-1-rpi-ARCH #1 SMP PREEMPT Thu Feb 23 12:17:10 MST 2023 aarch64 GNU/Linux
># mpd -V
Music Player Daemon 0.23.12 (0.23.12)
Configuration
Extract of MPD configuration file:
># cat mpd.conf
...
replaygain "auto"
...
audio_output {
name "snd_rpi_hifiberry_dacplus"
type "alsa"
device "hw:1,0"
mixer_control "Digital"
mixer_type "hardware"
mixer_device "hw:1"
replay_gain_handler "mixer"
auto_resample "no"
auto_format "no"
enabled "yes"
}
...
Log
The log is not included, MPD is actually working consistently. It just seems that the adjustment is incorrect.
When used without the 'replay_gain_handler' the software volume adjustment appears to be correct.
The text was updated successfully, but these errors were encountered: