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

Re: SetParameter


  • Subject: Re: SetParameter
  • From: "Sophia Poirier [dfx]" <email@hidden>
  • Date: Fri, 21 Sep 2007 00:07:44 -0400

What in that document leads you to believe that AUEffectBase::SetParameter() is supposed to notify listeners? I don't see anything that says anything like that, but maybe I'm not catching something in there.

At any rate, what Eric told you and you've found are correct: that AUEffectBase::SetParameter() will not post notification. AUParameterSet() will (in addition to setting the value for the parameter), or alternately you can use AUParameterListenerNotify() to only post a change notification without setting a value.

Sophia



On Sep 19, 2007, at 10:19 AM, Paul Tapper wrote:

Thanks for the help.


I am calling AUEffectBase::SetParameter(paramID, value); which the Audio Unit Programming Guide seems to suggest would then notify the listeners (which would presumably include the host - see http:// developer.apple.com/documentation/MusicAudio/Conceptual/ AudioUnitProgrammingGuide/index.html?http://developer.apple.com/ documentation/MusicAudio/Conceptual/AudioUnitProgrammingGuide/ TheAudioUnit/chapter_4_section_4.html)


But, for me, AUEffectBase::SetParameter just seems to call AUElement::SetParameter which doesn't seem to feed through into AUParameterSet anywhere. Maybe I'm just using this wrong somehow.

Paul

Use AUParameterSet to set an AudioUnit parameter value and notify
listeners.

------------------------------------------------------------------
Eric Eizenman
BIAS Inc., Audio Software Development
------------------------------------------------------------------

_______________________________________________ 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: SetParameter
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: Meters in generic view
  • Next by Date: Re: Logic 8 and multichannel plugs
  • Previous by thread: RE: SetParameter
  • Next by thread: Re: SetParameter
  • Index(es):
    • Date
    • Thread