Re: Audioqueue Runloop blocks my gui
Re: Audioqueue Runloop blocks my gui
- Subject: Re: Audioqueue Runloop blocks my gui
- From: Chris Adamson <email@hidden>
- Date: Sun, 21 Nov 2010 12:39:32 -0500
If you have a GUI, I'm pretty sure you don't need the runloop that's in the Apple examples… that's just provided so the command-line executable application doesn't reach the bottom of main() immediately and terminate.
--Chris Hi,
I use the Audioqueue play example from the Audioqueue programming guide and it plays the sounds, but for the time the sounds has not finished playing until the very end the gui is unresponsive and blocked so that I can not press a stop button for example. How do I have to set up the inCallbackRunLoop and inCallbackRunLoopMode to keep the guiresponsive ? Do I need to use the while loop in AudioQueueStart ? Or have to start another thread ?
It is a little bit confusing for me and I would be really happy if somebody has an answer...
Karsten
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden