• 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: Audio Queues and thread safety
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Audio Queues and thread safety


  • Subject: Re: Audio Queues and thread safety
  • From: Doug Wyatt <email@hidden>
  • Date: Thu, 4 Jun 2009 16:01:39 -0700

Please write bug reports. You can send us their numbers off-list too.

thanks
Doug

On Jun 4, 2009, at 15:54 , Thomas Clement wrote:

On Jun 4, 2009, at 9:15 PM, Doug Wyatt wrote:

On Jun 4, 2009, at 5:06 , Thomas Clement wrote:
Is it safe to call the Audio Queue functions from various threads (but never concurrently)?

yes, in fact the API is strongly oriented towards having a "main" (UI) thread and another thread that enqueues buffers.

Good. Using a single secondary thread to manage the audio queue does work, but using multiple threads (non concurrently) do not seem to work.


Currently I'm seeing deadlocks, crashes and exceptions being thrown by CoreAudio.

On what version of what platform?

10A354, x86_64. Should I fill a bug report or provide you the backtraces off-list?


Regards, Thomas


_______________________________________________ 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
References: 
 >Audio Queues and thread safety (From: Thomas Clement <email@hidden>)
 >Re: Audio Queues and thread safety (From: Doug Wyatt <email@hidden>)
 >Re: Audio Queues and thread safety (From: Thomas Clement <email@hidden>)

  • Prev by Date: Re: Audio Queues and thread safety
  • Next by Date: Re: AU automation gestures/scroll wheel events
  • Previous by thread: Re: Audio Queues and thread safety
  • Next by thread: Help on adding volume control
  • Index(es):
    • Date
    • Thread