mixer: configure legacy mixer before the audio outputs

Reimplemented the legacy mixer configuration: copy the deprecated
configuration values into the audio_output section.  Don't configure
the mixers twice (once for the audio_output, and a second time for the
legacy values).

This requires volume_init() to be called before initAudioDriver().
This commit is contained in:
Max Kellermann
2009-01-25 17:38:02 +01:00
parent 8695b94232
commit 188f9e663c
2 changed files with 71 additions and 23 deletions

View File

@@ -246,9 +246,9 @@ int main(int argc, char *argv[])
command_init();
initialize_decoder_and_player();
volume_init();
initAudioConfig();
initAudioDriver();
volume_init();
client_manager_init();
replay_gain_global_init();
initNormalization();