diff options
author | Max Kellermann <max@duempel.org> | 2013-12-24 11:51:37 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-12-24 11:53:21 +0100 |
commit | c05691b546544e22b5e39847cf8618c9496d3cc1 (patch) | |
tree | 4aaece68e9ffb8f9b7adcfed97cdc42898db9265 /src/OutputControl.cxx | |
parent | 6b3b8c6f2e436c110d9cf895130c9bce54aa307c (diff) | |
download | mpd-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.cxx | 2 |
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 |