From c05691b546544e22b5e39847cf8618c9496d3cc1 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 24 Dec 2013 11:51:37 +0100 Subject: 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. --- src/OutputControl.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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 -- cgit v1.2.3