Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

registering memory based AU's



I'm trying to create an Application specific AU that I would like to simply instance and register with the component manager on the fly.
Does anyone have an example of instancing an AU in memory and registering it? I've found bits and pieces in my docs but I can't put it together. For instance:

<x-tad-bigger>Component RegisterComponent ( // </x-tad-bigger><x-tad-bigger>IV-2806</x-tad-bigger><x-tad-bigger>
ComponentDescription *cd, // </x-tad-bigger><x-tad-bigger>IV-2359</x-tad-bigger><x-tad-bigger>
ComponentRoutineUPP componentEntryPoint, // </x-tad-bigger><x-tad-bigger>IV-2819</x-tad-bigger><x-tad-bigger>
short global,
Handle componentName,
Handle componentInfo,
Handle componentIcon );

There is a macro "COMPONENT_ENTRY()" in the SampleEffectUnit.cpp that probably creates a ComponentRoutineUPP but I haven't found the macro definition, or an explanation of how to use it.

Thanks for you help,

Ron</x-tad-bigger>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/coreaudio-api/email@hidden

This email sent to email@hidden


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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.