• 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
VST->AU SDK registering extra components
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

VST->AU SDK registering extra components


  • Subject: VST->AU SDK registering extra components
  • From: Marc Poirier <email@hidden>
  • Date: Wed, 30 Jul 2003 11:54:58 -0500 (CDT)

An AU host author was telling me about some weird behavior of AUs made
with Emagic's VST->AU SDK. He told me that, if he scanned his AU
collection once, he'd have a certain number of AUs, and then if he scanned
a second time, he had more. This was because VST->AU plugins are
registering extra AUs when opened for the first time in a process.

I took a look at Emagic's VST->AU SDK to see if I could figure this out.
What appears to me to be the issue is that, in the constructor for the
CVST2AURegister, there is this:

#if (VST2AU_MODE==VST2AU_MODE_EFFECT)
ComponentEntryPoint<CVST2AUPlugin>::Register('aufx', psFX->uniqueID, 'VST ');
#else
ComponentEntryPoint<CVST2AUPlugin>::Register('aumu', psFX->uniqueID, 'VST ');
#endif

Register is a method in the ComponentBase class of Apple's AU SDK:

static Component ComponentBase::Register(OSType compType, OSType subType, OSType manufacturer)
{
ComponentDescription description = {compType, subType, manufacturer, 0, 0};
Component component = RegisterComponent(&description, (ComponentRoutineUPP)Dispatch, registerComponentGlobal, NULL, NULL, NULL);
if (component != NULL) {
SetDefaultComponent(component, defaultComponentAnyFlagsAnyManufacturerAnySubType);
}
return component;
}

In the VST->AU SDK, there is a static global instance of the
CVST2AURegister class, so this happens when the code is first loaded in
the host's process, but not every time the AU is instanciated (which
matches up with the results you described to me).

So anyway, I can't figure out what the purpose of this all is or what
Emagic were thinking. It seems like just an obviously weird and bad idea,
but maybe I just don't get it. Does anyone else have any insight into
this?

Thanks,
Marc
_______________________________________________
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.

  • Prev by Date: RE: question about Audio Converter: channel mapping without rate conversion?
  • Next by Date: making AUEffectBase::GetSampleRate safer
  • Previous by thread: new MTCoreAudio.framework release
  • Next by thread: making AUEffectBase::GetSampleRate safer
  • Index(es):
    • Date
    • Thread