Re: Initialization of parameters
Re: Initialization of parameters
- Subject: Re: Initialization of parameters
- From: William Stewart <email@hidden>
- Date: Tue, 22 Apr 2008 14:50:07 -0700
The calls in the constructor are required:
(1) Creates a space in the element for that parameter
(2) Sets the default value of the parameter
If you don't do this, then you don't have the parameter
On Apr 22, 2008, at 8:47 AM, Howard Moon wrote:
In the AU examples I've seen, the constructor of the AU calls
SetParameter with default values for the parameters. Is that
needed? I would expect, since the GetParameterInfo function
override sets the default value, that the host (or some part of the
AU base class hierarchy) would use that default information to call
SetParameter for us. Am I mistaken? Or are the calls to
SetParameter in the constructor redundant?
Thanks,
-Howard
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden