• 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 Units and OpenCL?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Audio Units and OpenCL?


  • Subject: Re: Audio Units and OpenCL?
  • From: Brian Willoughby <email@hidden>
  • Date: Wed, 9 Sep 2009 18:17:07 -0700


On Sep 9, 2009, at 18:10, Mike Lemmon wrote:
So is multi-threading an AU ok, or only in host-oriented cases such as these? What sort of "host interference" are people worried about? I suppose this is because hosts assume that AUs are never multi-threaded?


I believe the key is that the AudioUnit system is designed as a synchronous pull-model. Your AU must provide its output synchronously, without blocking, when asked. I could be wrong, but It seems possible to make an AU multi-threaded, so long as you make sure that the code does not block within the Render call. There are many ways to be multithreaded, even without multiple processors, and many applications cannot tell whether the components they load are threaded or not.

Brian

_______________________________________________
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 Units and OpenCL? (From: Mike Lemmon <email@hidden>)
 >Re: Audio Units and OpenCL? (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Audio Units and OpenCL? (From: Markus Fritze <email@hidden>)
 >Re: Audio Units and OpenCL? (From: Richard Dobson <email@hidden>)
 >Re: Audio Units and OpenCL? (From: philippe wicker <email@hidden>)
 >Re: Audio Units and OpenCL? (From: William Stewart <email@hidden>)
 >Re: Audio Units and OpenCL? (From: Mike Lemmon <email@hidden>)

  • Prev by Date: Re: Audio Units and OpenCL?
  • Next by Date: Re: Audio Units and OpenCL?
  • Previous by thread: Re: Audio Units and OpenCL?
  • Next by thread: Re: Audio Units and OpenCL?
  • Index(es):
    • Date
    • Thread