]> git.mxchange.org Git - simgear.git/blobdiff - simgear/sound/soundmgr.cxx
Don't use floats where ints are more appropriate
[simgear.git] / simgear / sound / soundmgr.cxx
index 84605cfdc178856df53c5d5a1cd904262b537d7e..31065656c5280bb6ac4f4a35b894d9d8349b0842 100644 (file)
@@ -107,7 +107,7 @@ SGSoundMgr::SGSoundMgr() {
     if ( audio_sched->notWorking() ) {
        SG_LOG( SG_GENERAL, SG_ALERT, "Audio initialization failed!" );
     } else {
-       audio_sched -> setMaxConcurrent ( 6 ); 
+       audio_sched -> setMaxConcurrent ( SL_MAX_MIXERINPUTS ); 
 
        audio_mixer = new smMixer;