Re: Parameters & Listeners & Host & Cocoa
Re: Parameters & Listeners & Host & Cocoa
- Subject: Re: Parameters & Listeners & Host & Cocoa
- From: William Stewart <email@hidden>
- Date: Thu, 4 Dec 2003 10:49:43 -0800
This is an implementation not an API - but yes it will until hosts move
away from this.
I'd recommend taking Marc's idea and doing both this and the
AUEventListener begin/end gesture for the meantime, then at some point
remove the calls to TellListener
Bill
On 04/12/2003, at 4:27 AM, Robert Fehse wrote:
will the old method still work then ?
TellListener(parameter,kAudioUnitCarbonViewEvent_MouseDownInControl,NUL
L);
robert
So if my AU or Cocoa view was to write automation is this the way to
do
it?
AudioUnitEvent myEvent;
myEvent.mEventType = kAudioUnitEvent_BeginParameterChangeGesture;
myEvent.mParameter = myParameter;
AUEventListenerNotify(NULL,NULL,myEvent); // start automation for
myParameter
myEvent.mEventType = kAudioUnitEvent_ParameterValueChange;
AUEventListenerNotify(NULL,NULL,myEvent);// write automation for
myParameter
myEvent.mEventType = kAudioUnitEvent_EndParameterChangeGesture;
AUEventListenerNotify(NULL,NULL,myEvent);// end automation for
myParameter
and what about the "inSendingListener", "inSendingObject" should that
be anything ?
Peter Mark
Mark's Recording Studio A/S
Lundeskovsvej 3
2900 Hellerup
Denmark
Tel: +45 35366078 Fax: +45 35366038
www.marks-studio.dk
email@hidden
_______________________________________________
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.
_______________________________________________
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.
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
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.