hi,
I use SimpleAudioEngine::sharedEngine() to play the game’s effect.
when it’s playing, yeah! Effect is playing ,at this moment I callback the functions:
SimpleAudioEngine::sharedEngine()->stopAllEffects(); SimpleAudioEngine::sharedEngine()->stopBackgroundMusic(true); SimpleAudioEngine::sharedEngine()->end();
and then It throws crash.
I’m the new comer, help me ,pls.
thanks!
Platform: IOS , latest stable cocos2d-x-2.1.4