Main: call replay_gain_global_init() before forking

This commit is contained in:
Max Kellermann 2016-12-03 13:27:59 +01:00
parent 3d16f22135
commit e443513996

View File

@ -405,6 +405,7 @@ try {
stats_global_init();
TagLoadConfig();
replay_gain_global_init();
log_init(options.verbose, options.log_stderr);
@ -477,7 +478,6 @@ try {
command_init();
initAudioConfig();
replay_gain_global_init();
instance->partition->outputs.Configure(instance->event_loop,
replay_gain_config,
instance->partition->pc);