Re: parameters not showing up in host
Re: parameters not showing up in host
- Subject: Re: parameters not showing up in host
- From: Brian Whitman <email@hidden>
- Date: Tue, 14 Jan 2003 10:03:24 -0500
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.) 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.)
_______________________________________________
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.