I’m a new user of fmod and I am currently using fmod 3.74. I have a few questions about error handling in fmod.
I play sound with the following func : FSOUND_PlaySoundEx(FSOUND_FREE, mSample,NULL,FALSE). This function returns me a channel number.
I would like to know when the sound is finished but the only callback I found is for the streams. Is there a way to know when a sound playback is finished ?
Second problem : sometimes when I want to play a sound a second time, I have to call FSOUND_StopSound(mChannel) to stop the sound and to call FSOUND _PlaySoundEx to launch it one more time. But the FSOUND_StopSound return false, and I don’t know why. Is there a way to get extended information about the error when StopSound returns false ?
Thanks in advance for the response.
- s.chaplain asked 11 years ago
- You must login to post comments