summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
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 ();