]> git.mxchange.org Git - simgear.git/blobdiff - simgear/sound/sample_queue.cxx
Add a HLADataElementVisitor implementation.
[simgear.git] / simgear / sound / sample_queue.cxx
index a7eeac1aa12e8ae3b3bed185a81a5b42a5ee6100..08cb3019eaa844a2673380a471fbfa2fc2444502 100644 (file)
@@ -26,7 +26,8 @@
 #  include <simgear_config.h>
 #endif
 
-#include <stdlib.h>    // rand()
+#include <cstdlib>     // rand()
+#include <cstring>
 
 #include <simgear/debug/logstream.hxx>
 #include <simgear/structure/exception.hxx>
@@ -64,6 +65,7 @@ SGSampleQueue::SGSampleQueue( int freq, int format ) :
     _master_volume(1.0),
     _reference_dist(500.0),
     _max_dist(3000.0),
+    _loop(false),
     _playing(false),
     _changed(true)
 {