]> git.mxchange.org Git - flightgear.git/commitdiff
Use the new plib-1.4.1 sound interface to set a maximum of 6 concurrent
authorcurt <curt>
Tue, 3 Jul 2001 23:07:57 +0000 (23:07 +0000)
committercurt <curt>
Tue, 3 Jul 2001 23:07:57 +0000 (23:07 +0000)
sounds (rather than the default 3).

src/Sound/soundmgr.cxx

index 7a70607bdf29d495cf3c3ecc301d477a223a71ab..bc3386539f4ec7faead58e881c444bb1f3a3eccd 100644 (file)
@@ -64,6 +64,8 @@ FGSimpleSound::~FGSimpleSound() {
 // constructor
 FGSoundMgr::FGSoundMgr() {
     audio_sched = new slScheduler( 8000 );
+    audio_sched -> setMaxConcurrent ( 6 ); 
+
     audio_mixer = new smMixer;
 
     SG_LOG( SG_GENERAL, SG_INFO,