0
0

Greetings everyone,

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.

  • You must to post comments
0
0

The pcmreadcallback thread is the mixer thread. The mixer is stopped when the System is released. The system should be released last.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.