]> git.mxchange.org Git - flightgear.git/blobdiff - src/Sound/sample_queue.cxx
Make the view-manager and sound-manager independent.
[flightgear.git] / src / Sound / sample_queue.cxx
index e5c2293a6037fe3b8ffa3f2d346d6b59fa89b32b..fd2931ef6c5ef01be6a04085c0e488d5143588d5 100644 (file)
@@ -45,8 +45,6 @@ FGSampleQueue::FGSampleQueue ( SGSoundMgr *smgr, const string &refname ) :
     SGSampleGroup::_smgr = smgr;
     SGSampleGroup::_smgr->add(this, refname);
     SGSampleGroup::_refname = refname;
-    _enabled->setBoolValue(true);
-    _volume->setFloatValue(1.0);
 }
 
 
@@ -80,7 +78,7 @@ FGSampleQueue::update (double dt)
             last_volume = volume;
         }
 
-        // process mesage queue
+        // process message queue
         const string msgid = "Sequential Audio Message";
         bool now_playing = false;
         if ( exists( msgid ) ) {