views:

787

answers:

0

I use a modified version of AudioFileStreamExample (/Developer/Examples/CoreAudio/Services/AudioFileStreamExample/afsclient.cpp) to play streamed audio. My problem is now that if I try to stop the audio playback, the playback thread is blocked until MyAudioQueueOutputCallback is called. How can I stop it without waiting for the MyAudioQueueOutputCallback?