Playback After Sound Effect End

Hi All,

I have a question, how to run a callback after certain sound effect done playing? Or the other thing, how can i detect if a sound effect is playing or not.

I found this thread [Help] How to get sound effect is playing?, but doesn’t seem to help enough.

Currently i use DelayTime to this, but this is not a good approach. Any other solutions?

There is no better solution to what you do already with the Cocos2d-x SimpleAudioEngine.
The SimpleAudioEngine is just that, simple.
No one seems to want to improve it because it would involve lots of platform code to tie-in with a better cross-platform API.
If you have a bodge that works then stick with it!
Good luck.