Re: Getting the AU default parameter editor working
Re: Getting the AU default parameter editor working
- Subject: Re: Getting the AU default parameter editor working
- From: Bill Stewart <email@hidden>
- Date: Wed, 02 Oct 2002 18:45:25 -0700
No - but you do have to publish information about your parameters - Check
the SampleUnit, you're probably missing the GetParameterInfo stuff - that's
what the generic view uses to present its interface
Bill
on 2/10/02 6:11 PM, Chris Reed wrote:
>
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.
--
mailto:email@hidden
tel: +1 408 974 4056
__________________________________________________________________________
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
__________________________________________________________________________
_______________________________________________
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.