Re: in-memory AudioUnit?
Re: in-memory AudioUnit?
- Subject: Re: in-memory AudioUnit?
- From: Doug Wyatt <email@hidden>
- Date: Fri, 14 Nov 2003 14:18:46 -0800
There's even code in the SDK to do this. I've never tried it, but
someone lurking on this thread wrote it ;-)
Try replacing your use of
COMPONENT_ENTRY(Class)
with
COMPONENT_REGISTER(Class,Type,Subtype,Manufacturer)
Both macros and the templates they expand into are in ComponentBase.h...
If you want the component to get registered sometime later than global
initialization time, try:
ComponentEntryPoint<Class>::Register(Type, Subtype, Manufacturer);
Doug
On Nov 12, 2003, at 15:20, kelly jacklin wrote:
On Nov 12, 2003, at 11:16 AM, Art Gillespie wrote:
I can't remember if components registered in this fashion are private
to
the the registering process (I'm sure I remember reading that this is
possible, though).
Components registered using RegisterComponent are, of course, private
to the process in which you register them. In fact, all component
registration is done per-process under OSX. Apps under OSX have
separate address spaces, and code blobs and pointers are not shared
across them.
kelly jacklin
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.