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: Chris Reed <email@hidden>
- Date: Fri, 4 Oct 2002 11:39:47 -0500
On Wednesday, October 2, 2002, at 08:45 pm, Bill Stewart wrote:
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
Actually, I forgot to mention that I am filling everything out in
GetParameterInfo.
-chris
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.