Re: parameters not showing up in host
Re: parameters not showing up in host
- Subject: Re: parameters not showing up in host
- From: Marc Poirier <email@hidden>
- Date: Tue, 14 Jan 2003 17:08:17 +0100 (CET)
On Tue, 14 Jan 2003, Brian Whitman wrote:
>
Thanks marc, (I was setting the flags correctly), but:
>
>
> (2) You didn't add them to the parameter map in your plugin's
>
> constructor. AUBase uses an std vector to store the parameter IDs, so
>
> all
>
> you need to do is go through and do an AUBase::SetParameter (if you've
>
> overridden that implementation) for each parameter to make sure that
>
> AUBase "knows" about them and will provide them to a host in a request
>
> for the parameter list property.
>
>
In the sample code they do a AUEffectBase::SetParameter for each of the
>
dummy parameters (the Voweler sample code, which has been very helpful,
>
does this too.)
And in case you didn't know, more open source AUs are listed at the
CoreAudio swiki:
http://www.mat.ucsb.edu:8000/CoreAudio/2
>
Otherwise, the SampleEffectUnit code doesn't override
>
AUBase::SetParameter. It looks like AUEffectBase::SetParameter is a
>
macro for a global call to AUBase's SetParameter, so it should get
>
there eventually (and Voweler seems to do it ok, but that has a custom
>
UI so I'm not sure.)
Yeah, you're right about AUEffectBase::SetParameter, that should work fine
too. I'm out of ideas... In which host app are the parameters not
showing up?
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.