aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-25 17:38:02 +0100
committerMax Kellermann <max@duempel.org>2009-01-25 17:38:02 +0100
commit188f9e663cbc109e2dc367eb7995dd8dd3fdf90f (patch)
tree77242907d2ca399eaf5046fefc6093fb74aa53f1 /src/main.c
parent8695b9423233e9e8ad18ed7b4d56a020254fbdd6 (diff)
downloadmpd-188f9e663cbc109e2dc367eb7995dd8dd3fdf90f.tar.gz
mpd-188f9e663cbc109e2dc367eb7995dd8dd3fdf90f.tar.xz
mpd-188f9e663cbc109e2dc367eb7995dd8dd3fdf90f.zip
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().
Diffstat (limited to '')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index f82ea596a..e872d3d91 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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();