]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/fg_init.cxx
minor upodate by John
[flightgear.git] / src / Main / fg_init.cxx
index 92d32a1caaf2bc5911bba51edf6b6923574c43db..cf6c86b702cab88cedfe088ee6495f93f0d1aeea 100644 (file)
 using std::string;
 
 extern const char *default_root;
-float init_volume;
 
 
 // Scan the command line options for the specified option and return
@@ -1449,6 +1448,13 @@ bool fgInitSubsystems() {
     globals->get_event_mgr()->init();
     globals->get_event_mgr()->setRealtimeProperty(fgGetNode("/sim/time/delta-realtime-sec", true));
 
+    ////////////////////////////////////////////////////////////////////
+    // Initialize the sound manager subsystem.
+    ////////////////////////////////////////////////////////////////////
+
+    globals->get_soundmgr()->bind();
+    globals->get_soundmgr()->init();
+
     ////////////////////////////////////////////////////////////////////
     // Initialize the property interpolator subsystem. Put into the INIT
     // group because the "nasal" subsystem may need it at GENERAL take-down.