The question is:
I create a sound with a system instance,and the sound is playing, meanwhile I want to create and play a new sound with the previous system,so I call system->close() and system->release() to stop the previous sound,but the program crash imediately.It seems that if a sound didn’t finish its playing,system->close() and system->release() can’t be called to stop it and play the new sound? How to solve this?
Thanks in advance.