Re: Setparameter problem
Re: Setparameter problem
- Subject: Re: Setparameter problem
- From: William Stewart <email@hidden>
- Date: Mon, 29 Sep 2008 12:18:17 -0700
Do you want the value of this parameter to always change in response
to this property changing, or just from when your view is manipulating
something?
On Sep 27, 2008, at 8:05 AM, Pjotr kiwapta wrote:
Cynthia,
First of all thank you very much for your effort. I noticed that I
didn't have a GetPropertyInfo and GetProperty function. So I added
them, but it stil didn't work.
After a lot of trouble with XCode (all of a sudden I couldn't save a
certain file anymore, so I had to create a whole new project :( ) I
found that I had make a mistake in the for loop of
NewFactoryPresetSet. The presets now work too.
But my original problem still exists (Originally I thought it was
the same problem with the factorypresets):
I have implemented an event handler (HandleProgramChange). This
handler sets the value for one of my parameters. It works fine (the
parameter is set), but the generic view isn't updated. The code I
wrote is as follows:
OSStatus ExtIns::HandleProgramChange( UInt8 inChannel, UInt8 inValue)
{
int snd=(int)inValue;
Globals()->SetParameter(kParameter_SndNumber, snd);
return noErr;
}
What must I do to trigger/update the generic view?
_________________________________________________________________
Probeer Live Search: de zoekmachine van de makers van MSN!
http://www.live.com/?searchOnly=true
_______________________________________________
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