Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: in-memory AudioUnit?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: in-memory AudioUnit?



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.

References: 
 >in-memory AudioUnit? (From: Christopher Corbell <email@hidden>)
 >Re: in-memory AudioUnit? (From: Art Gillespie <email@hidden>)
 >Re: in-memory AudioUnit? (From: kelly jacklin <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.