summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-06-24 21:35:35 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-06-24 21:35:35 +0200
commitc4c49d34513458a2cb73bff87c6fe73b10a2c350 (patch)
tree2273f84d016502be67ef103910cff434d6db67ae /main.c
parent131aab4658e3ea81416b476192c652657484002f (diff)
volumebar improvements
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index b30c61b3..1238a4c5 100644
--- a/main.c
+++ b/main.c
@@ -623,6 +623,7 @@ main (int argc, char *argv[]) {
pl_init ();
conf_load (); // required by some plugins at startup
+ volume_set_db (conf_get_float ("playback.volume", 0)); // volume need to be initialized before plugins start
messagepump_init (); // required to push messages while handling commandline
plug_load_all (); // required to add files to playlist from commandline
pl_load_all ();
@@ -652,7 +653,6 @@ main (int argc, char *argv[]) {
atexit (atexit_handler); // helps to save in simple cases
// start all subsystems
- volume_set_db (conf_get_float ("playback.volume", 0));
plug_trigger_event_playlistchanged ();
streamer_init ();