Use the new plib-1.4.1 sound interface to set a maximum of 6 concurrent
sounds (rather than the default 3).
This commit is contained in:
parent
706db85486
commit
74bb87e855
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue