• 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: Tue, 20 Feb 2007 09:17:43 -0800

Hi Bill,
We found a slight modification to our original code that works.  We call AudioUnitSetParameter followed by AUParameterListenerNotify instead of just calling AUParameterSet and the problem goes away.  

In an earlier thread (Wed, 19 Jul 2006) on the CoreAudio list, you stated, 

AUParameterSet is not an AU API - rather it is an <AudioToolbox/ AudioUnitUtilities.h> API (AudioEvent...) - it does 2 things:
- calls AudioUnitSetParameter
- calls AUEventNotify

So, what is the difference between AUEventNotify and AUParameterListenerNotify?


More info about how we're using these calls:
Our ProcessBufferLists method is called via AUEffectBase::Render.  Our Audio Unit process component processes its inputs and thus modifies the parameters that the VU meters are "listening" to.  The problem occurs when using some hosts (Peak, AU Lab) when the transport is paused.  ProcessBufferLists continues to be called with buffers of zeros as inputs.  AUParameterSet gets called, but the listeners aren't notified.   Once playback resumes, AUParameterSet starts notifying listeners again.




 _______________________________________________
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>)
 >Re: Problem with AUParameterSet (From: Eric Johnson <email@hidden>)
 >Re: Problem with AUParameterSet (From: William Stewart <email@hidden>)

  • Prev by Date: Re: Calibration of pitch bend in DLSSynth?
  • Next by Date: Re: Performance differences between AudioFileWritePackets() and FSWriteFork()
  • Previous by thread: Re: Problem with AUParameterSet
  • Next by thread: Re: Problem with AUParameterSet
  • Index(es):
    • Date
    • Thread