Re: Audio Units and OpenCL?
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