• 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: Problem with AUParameterSet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with AUParameterSet


  • Subject: Re: Problem with AUParameterSet
  • From: Eric Johnson <email@hidden>
  • Date: Thu, 15 Feb 2007 15:41:53 -0800



On Feb 15, 2007, at 2:12 PM, William Stewart wrote:

Why are you doing this on the AU side? You shouldn't need to as long as your view is listening to the parameter changes messages.


Hi Bill,
We call AUParamSet from the process component to set & notify allĀ listenersĀ about the parameter change (this a a VU meter change).

This part is done on the view side (Only once, to set up the listener):
// Setting up the listener
OSStatus osResults = ::AUListenerCreate(SysListenerProc, this, NULL, NULL, 0, &mParameterListenerRef);
osResults = ::AUListenerAddParameter(mParameterListenerRef, NULL, &mCAAUParameter);


This part is done on the process component side whenever a parameter changes:
// Sending the parameter change notifications
AUParameterSet(NULL, NULL, &parameterDetails, currFloatValue, 0);
 _______________________________________________
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: Problem with AUParameterSet
      • From: William Stewart <email@hidden>
References: 
 >Problem with AUParameterSet (From: Eric Johnson <email@hidden>)
 >Re: Problem with AUParameterSet (From: William Stewart <email@hidden>)

  • Prev by Date: Re: Problem with AUParameterSet
  • Next by Date: Re: AU parameter names and units
  • Previous by thread: Re: Problem with AUParameterSet
  • Next by thread: Re: Problem with AUParameterSet
  • Index(es):
    • Date
    • Thread