Increase the maximum number of simultanious audio streams to the maximum defined by plib
This commit is contained in:
@@ -107,7 +107,7 @@ SGSoundMgr::SGSoundMgr() {
|
|||||||
if ( audio_sched->notWorking() ) {
|
if ( audio_sched->notWorking() ) {
|
||||||
SG_LOG( SG_GENERAL, SG_ALERT, "Audio initialization failed!" );
|
SG_LOG( SG_GENERAL, SG_ALERT, "Audio initialization failed!" );
|
||||||
} else {
|
} else {
|
||||||
audio_sched -> setMaxConcurrent ( 6 );
|
audio_sched -> setMaxConcurrent ( SL_MAX_MIXERINPUTS );
|
||||||
|
|
||||||
audio_mixer = new smMixer;
|
audio_mixer = new smMixer;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user