Re: Parameter question
Re: Parameter question
- Subject: Re: Parameter question
- From: Bill Stewart <email@hidden>
- Date: Mon, 2 Jun 2003 17:00:45 -0700
You *should* rewrite GetParameterList to publish the parameters that
your audio unit wishes to be public.:-)
Many host rely on this information to do parameter automation, etc, so
this is actually quite an important call to get right. Its also easy to
test to see if it is right - open your AU in AudioUnitHosting and see
if the generic view displays your parameters correctly.
Bill
On Saturday, May 31, 2003, at 08:54 AM, Chris Reed wrote:
The AUBase code maintains an STL vector with all the parameters you
have set for each scope, and the list of parameters returned when the
host asks is pulled from this vector. So yes, all you need to do is
call SetParameter().
Alternatively, you can override AUBase::GetParameterList() to provide
your own list.
cheers
-chris
On Friday, May 30, 2003, at 03:35 PM, Darrin Cardani wrote:
In looking through the SampleEffectUnit code, I see how parameters
are set, and how their names and values are gotten, etc. What I don't
see, and what I'm not getting from the docs is how you tell the host
how many parameters you have in the first place. It appears that
simply commenting out the calls to SetParameter () in the constructor
causes it to not display parameters. Is this the right thing to do,
or is there more I need to do?
Thanks,
Darrin
--
Darrin Cardani - email@hidden
President, Buena Software, Inc.
<http://www.buena.com/>
Video, Image and Audio Processing Development
_______________________________________________
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.
_______________________________________________
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.