• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Question about AudioUnit parameter listeners
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Question about AudioUnit parameter listeners
      • From: Per Bull Holmen <email@hidden>
References: 
 >Question about AudioUnit parameter listeners (From: Per Bull Holmen <email@hidden>)

  • Prev by Date: Re: is xcode the preferred IDE for apple-oriented c++?
  • Next by Date: Re: Question about AudioUnit parameter listeners
  • Previous by thread: Question about AudioUnit parameter listeners
  • Next by thread: Re: Question about AudioUnit parameter listeners
  • Index(es):
    • Date
    • Thread