Getting the AU default parameter editor working
Getting the AU default parameter editor working
- Subject: Getting the AU default parameter editor working
- From: Chris Reed <email@hidden>
- Date: Wed, 2 Oct 2002 20:11:40 -0500
I've finally gotten around to working on my first AU, and I've got it
processing audio nicely. But I can't seem to get the default parameter
editor view to appear when it's used in AudioUnitHosting.app.
From everything I've looked at (primarily the SampleAU and MultitapAU
projects), it seems that all you should have to do is call
SetParameter() in your constructor, to define and give each parameter a
default value. This fills in the parameter map in the appropriate scope.
The host sees that you don't have a custom editor view and so
instantiates the default editor. When the default editor asks for a
list of all your parameters, the map you just filled in is used. The
AUBase::DispatchGetPropertyInfo() method looks like it responds to
kAudioUnitProperty_ParameterList for me, right?
But this is apparently not working for me. Is there anything special
you have to do that I'm missing here? Do you have to have respond to
kAudioUnitProperty_GetUIComponentList with a value indicating to use
the default editor?
Thanks!
-chris
_______________________________________________
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.