I want to play a few sound effects with SimpleAudioEngine from cocos2d-x v3, some of them should repeat forever. Now when i start a sound effect with:
CocosDenshion::SimpleAudioEngine::sharedEngine()->playEffect("mg.wav",true);
and play for example the following sound effect 31 times:
CocosDenshion::SimpleAudioEngine::sharedEngine()->playEffect("box.wav");
my mg.wav stops. Thats because IOS and Android only allows 32 sound effects. But why is that a problem when i play 31 times the same sound effect? I thought that only counts for different effects?
Now how can I solve that issue? Background music would work fine, but i can only play one background music at the same time.
Kurt