• 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: in-memory AudioUnit?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

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>)

  • Prev by Date: Re: Anal-retentive compiler warning aversion
  • Next by Date: Re: threading questions
  • Previous by thread: Re: in-memory AudioUnit?
  • Next by thread: Re: in-memory AudioUnit?
  • Index(es):
    • Date
    • Thread