Re: How to Notify parameters changes
Re: How to Notify parameters changes
- Subject: Re: How to Notify parameters changes
- From: Shai Shasag <email@hidden>
- Date: Sat, 12 Apr 2003 23:23:49 +0300
You need to mark the beginning and ends of parameter change gestures using
AudioUnitCarbonViewEventListener with
kAudioUnitCarbonViewEvent_MouseDownInControl and
kAudioUnitCarbonViewEvent_MouseUpInControl
See AUCarbonViewBase and AUCarbonViewControl in the SDK for example
implementations.
Thanks Marc,
kAudioUnitCarbonViewEvent_MouseDownInControl calls
mOwnerView->TellListener(mParam,
kAudioUnitCarbonViewEvent_MouseDownInControl, NULL);
Which in turn calls the AUCarbonViewBase ::mEventListener call back
passing it a pointer to the AUVParameter of the control.
This is strange, why would the call back need a pointer to something
that is completely internal to the control? In my case I do not even
have a control and it's AUVParameter, what should I send?
_______________________________________________
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.