Re: Question about AudioUnit parameter listeners
Re: Question about AudioUnit parameter listeners
- Subject: Re: Question about AudioUnit parameter listeners
- From: Paul Davis <email@hidden>
- Date: Fri, 13 May 2011 11:20:20 -0400
On Fri, May 13, 2011 at 11:05 AM, Per Bull Holmen <email@hidden> wrote:
> Hi folks,
>
> When you dispose of a parameter listener, using AUListenerDispose, do
> you really have to remove each specific parameter that's being tracked
> from the listener first? I'm asking because in the autogenerated code
> from the XCode template "AudioUnit effect with Cocoa view", the
> following code is used to add and remove parameter change listeners:
The AUParameterListener API is basically deprecated at this point.
Apple want you to use
AUEventListenerCreate
AUListenerDispose
AUEventListenerAddEventType
AUEventListenerRemoveEventType
AUEventListenerNotify
that was at least my reading of this a few months ago (its been this
way for quite a few years). It would be troubling that they still
auto-generate code that doesn't follow their own docs, but maybe
you're using an older version?
see: http://developer.apple.com/library/mac/#technotes/tn2104/_index.html
_______________________________________________
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