using the Generic AUView
using the Generic AUView
- Subject: using the Generic AUView
- From: Marc Poirier <email@hidden>
- Date: Thu, 17 Oct 2002 21:38:27 +0200 (CEST)
Hi. Is there anything special that an AU has to do to indicate that it
would like hosts to use Apple's generic AUView? I am doing the following,
and I can't think of anything else to do, but my AUs will not load with
the generic AUView in hosts (AudioUnitHosting, SynthTest) where other AUs
(mda, Apple's) do load with the generic view:
GetProperty()
{
if (inID == kAudioUnitProperty_GetUIComponentList)
{
ComponentDescription *cd = static_cast<ComponentDescription *>(outData);
cd->componentType = kAudioUnitCarbonViewComponentType;
cd->componentSubType = 'gnrc';
cd->componentManufacturer = kAudioUnitManufacturer_Apple;
cd->componentFlags = 0;
cd->componentFlagsMask = 0;
return noErr;
}
}
GetPropertyInfo()
{
if (inID == kAudioUnitProperty_GetUIComponentList)
{
outDataSize = sizeof(ComponentDescription);
outWritable = false;
return noErr;
}
}
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.