summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-01-03 13:44:38 +0100
committerMax Kellermann <max@musicpd.org>2017-01-03 13:44:38 +0100
commit39fd713b918585d2598b527d26f2c16caa4b3211 (patch)
tree8dfe3f5378ee16c9563dc0c3ed8fcdae008d613c
parent31d77ec58032cc67c81118f6f6fd136c90947dff (diff)
Main: invoke UpdateEffectiveReplayGainMode() after output init
Forward the configured ReplayGainMode to all outputs and decoders.
-rw-r--r--src/Main.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Main.cxx b/src/Main.cxx
index ab42a0d70..43ddee617 100644
--- a/src/Main.cxx
+++ b/src/Main.cxx
@@ -518,6 +518,8 @@ try {
instance->partition->outputs.Configure(instance->event_loop,
config.replay_gain,
instance->partition->pc);
+ instance->partition->UpdateEffectiveReplayGainMode();
+
client_manager_init();
input_stream_global_init();
playlist_list_global_init();