From: curt Date: Tue, 3 Jul 2001 23:07:57 +0000 (+0000) Subject: Use the new plib-1.4.1 sound interface to set a maximum of 6 concurrent X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=74bb87e8551f5b7774919530cf380af2c8f9c33e;p=flightgear.git Use the new plib-1.4.1 sound interface to set a maximum of 6 concurrent sounds (rather than the default 3). --- diff --git a/src/Sound/soundmgr.cxx b/src/Sound/soundmgr.cxx index 7a70607bd..bc3386539 100644 --- a/src/Sound/soundmgr.cxx +++ b/src/Sound/soundmgr.cxx @@ -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,