Re: notifying host of parameter changes
Re: notifying host of parameter changes
- Subject: Re: notifying host of parameter changes
- From: William Stewart <email@hidden>
- Date: Fri, 21 Oct 2005 16:25:58 -0700
On 21/10/2005, at 12:37 PM, Muon Software Ltd - Dave wrote:
http://developer.apple.com/technotes/tn2002/tn2104.html
Hope that helps,
Antoine
Thanks for that, I did look at this earlier but the documentation
is vague
to say the least :-)
The prototype for AUEventListenerNotify takes an AUEventListenerRef
(inSendingListener) and a void pointer (inSendingObject). Guessing
wildly,
is the first parameter likely to be the member mParameterListener in
AUCarbonViewBase in my case (my AU declares a carbon view) and the
second
parameter likely to be a pointer to my AU itself?
The second one is whatever you want. The listener mechanism uses the
object param to determine which code is sending the notification, so
it *doesn't* notify senders of something they've originated.
Is there any particular reason why one would choose
AUEventListenerNotify as
opposed to AUParameterListenerNotify for this type of usage?
Nope - the event listener is an extension (think of a sub-class) of
the parent (base-class) parameter listener. It was added to deal with
parameter begin/end gestures and property changes. You can use the
older API call with the newer object.
Bill
Regards
Dave
_______________________________________________
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
--
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
________________________________________________________________________
__
_______________________________________________
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