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:51:47 -0800
That's it.
The inSendingListener and inSendingObject can both be NULL - they would
be non-NULL if you had your own listeners for these events and were
sending a notification from that listener's location (ie. you didn't
want to get a notification back that you just changed something!)
Bill
On 04/12/2003, at 12:41 AM, Mark's Studio wrote:
>
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
>
--
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.