• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Audioqueue Runloop blocks my gui
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

On Nov 21, 2010, at 6:17 AM, email@hidden wrote:

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

  • Follow-Ups:
    • Re: Audioqueue Runloop blocks my gui
      • From: "email@hidden" <email@hidden>
References: 
 >Audioqueue Runloop blocks my gui (From: "email@hidden" <email@hidden>)

  • Prev by Date: How to obtain auvaltool v1.6? (plus... my audiounit is not showing up in auval anymore!)
  • Next by Date: Re: Audioqueue Runloop blocks my gui
  • Previous by thread: Audioqueue Runloop blocks my gui
  • Next by thread: Re: Audioqueue Runloop blocks my gui
  • Index(es):
    • Date
    • Thread