I want to use a button to toggle between pause/resume music.
myMusicID = cocos2d::experimental::AudioEngine::play2d(“myMusic.mp3”);
is there a way to ask the system if myMusicID is still running?
I would expect AudioEngine::getState(myMusicID) to return some value but it doesn’t…
… does anyone know how to properly implement AudioEngine::getState ?
Thanks,