aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-12-24 11:51:37 +0100
committerMax Kellermann <max@duempel.org>2013-12-24 11:53:21 +0100
commitc05691b546544e22b5e39847cf8618c9496d3cc1 (patch)
tree4aaece68e9ffb8f9b7adcfed97cdc42898db9265 /src
parent6b3b8c6f2e436c110d9cf895130c9bce54aa307c (diff)
downloadmpd-c05691b546544e22b5e39847cf8618c9496d3cc1.tar.gz
mpd-c05691b546544e22b5e39847cf8618c9496d3cc1.tar.xz
mpd-c05691b546544e22b5e39847cf8618c9496d3cc1.zip
OutputControl: update both ReplayGainFilters
The "mode" of the second ReplayGainFilter was never set, and thus replay gain was never applied to the new song during cross-fade.
Diffstat (limited to '')
-rw-r--r--src/OutputControl.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/OutputControl.cxx b/src/OutputControl.cxx
index 553507a2a..27f280231 100644
--- a/src/OutputControl.cxx
+++ b/src/OutputControl.cxx
@@ -101,6 +101,8 @@ audio_output_set_replay_gain_mode(struct audio_output *ao,
{
if (ao->replay_gain_filter != nullptr)
replay_gain_filter_set_mode(ao->replay_gain_filter, mode);
+ if (ao->other_replay_gain_filter != nullptr)
+ replay_gain_filter_set_mode(ao->other_replay_gain_filter, mode);
}
void