I’ve been working on a video player with FFMPEG and FMOD (windows 7 64 bit using VS 2010).
When exiting the application while a unique pcmreadcallback is running, FMOD::Sound can be released successfully. But when exiting after the movie has ended, which means the pcmreadcallback should be terminated, releasing FMOD::Sound hangs the application.
To help me out in solving this issue, I would like to know:
1 – What are the possible cases where FMOD::Sound->release() would go in a forever loop?
2 – Is there a way to know when the pcmreadcallback thread has been terminated?
3 – How to terminate the pcmreadcallback thread?
Any insight would be really appreciated, Thx.
- Golgoth asked 8 years ago
- You must login to post comments