RE: Setparameter problem
RE: Setparameter problem
- Subject: RE: Setparameter problem
- From: Pjotr kiwapta <email@hidden>
- Date: Sat, 27 Sep 2008 17:05:14 +0200
- Importance: Normal
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