How can i get a callback,when my backgroundmusic which is achieved by simpleaudio is playing completely?
How can i get a callback,when my backgroundmusic is playing overed?
I don’t think you can using cocos2dx simpleAudioEngine.
In my app, I have scheduled a function call that checks if music is playing, if not then start a new track.
If there is a better way then I would also like to know.