• 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: SetParameter() and view update notification, continued
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SetParameter() and view update notification, continued


  • Subject: Re: SetParameter() and view update notification, continued
  • From: Artemiy Pavlov <email@hidden>
  • Date: Sat, 2 Sep 2006 13:44:23 +0300

Hello William,

and thanks a lot again for the help.

So as I understand, I need to first create a listener and then add a parameter to the listener, right? The problem is I cannot locate a "pure" example of this, only very complex (to me at least) example plugins with custom views which simply mess things up for me with the amount of code they have.

Also, you suggest to use event notifications instead of parameter notifications, but the code you wrote in one of your previous posts (http://lists.apple.com/archives/Coreaudio-api/2006/Aug/ msg00231.html) is absolutely alien to me - I simply do not get how it works and how to set up all those functions...

Anyway, looking at the Audio Unit programming guide, there is no tutorial or simple examples on using listeners and notifications. One of the few things you get is "To set a parameter and notify listeners all in one step, use the AUParameterSet function, also from the Audio Unit Event API.". So I would understand that I only need one line of code with AUParameterSet to do all the job... which appears to be not the case, but I cannot locate an easy-to-read example... :-(



Artemiy.

On 2 Sep 2006, at 3:31 AM, William Stewart wrote:

you have to install a listener for this parameter, so you can know when it changes (when the notification fires)

The call you want is AUListenerAddParameter - there's some example usages of this (or the preferred AUEventListenerAddEventType version) in the Carbon view code in the SDK (/Developer/Examples/ CoreAudio)

Bill

_______________________________________________ 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
References: 
 >SetParameter() and view update notification, continued (From: Artemiy Pavlov <email@hidden>)
 >Re: SetParameter() and view update notification, continued (From: William Stewart <email@hidden>)

  • Prev by Date: Re: SetParameter() and view update notification, continued
  • Next by Date: Re: Audio Correlation
  • Previous by thread: Re: SetParameter() and view update notification, continued
  • Next by thread: Re: Audio Correlation
  • Index(es):
    • Date
    • Thread