Re: Registering AudioUnits at runtime
Re: Registering AudioUnits at runtime
- Subject: Re: Registering AudioUnits at runtime
- From: David Duncan <email@hidden>
- Date: Thu, 4 Nov 2004 15:59:13 -0500
On Nov 4, 2004, at 02:43 PM, Makira wrote:
I'm trying to make an audio unit which, upon loading, would read from a
directory some models, and then for each of them register an audio
unit. How
can I do this ?
Do I have to make a dummy audio unit, and with the help of a static
global
instance, register more in the constructor using COMPONENT_REGISTER
from
Apple's sdk ? Problem is that I don't want any dummy audio unit
appearing in
the host.. Or can I make a generic component which will register the
audio
units - but will the host load the component if no audio units are
listed in
the ressources ?
Why not create a single AU and use the preset mechanism to select from
each model? Then the user can select (and change) at runtime the model
that the AU corresponds to. If you register separate AUs then the user
has to remove and insert a new AU.
--
Reality is what, when you stop believing in it, doesn't go away.
Failure is not an option. It is a privilege reserved for those who try.
David Duncan
_______________________________________________
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