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

AudioUnit Events


  • Subject: AudioUnit Events
  • From: Bjorn Roche <email@hidden>
  • Date: Mon, 14 May 2007 18:25:47 -0400

Hey there,

I am using Audio Unit events as described in technote 2104. I am a bit confused about a few points:

1. What is the responsibility of the host when it changes parameters, scheduling parameters and setting properties? In my experiments, it seems that events fire automatically when I change properties (as with OSStatus ret = AudioUnitSetProperty( ... kAudioUnitProperty_PresentPreset, ... ) ), but NOT when I change parameter values. I haven't tested scheduling parameters extensively, but that doesn't seem to fire events either. My conclusion is that I need to call AUEventListenerNotify after changing a parameter, but not after changing a property. Is this correct? What about scheduling changes?

2. How do I identify which events I fired, and which events something else (e.g. the audio Unit GUI) fired? In the case of my app, I have sliders that need to respond to changes in the AU, and I want the AU to respond to changes in the slider, and I don't want the two to keep firing events back and forth unnecessarily. I see that AUEventListenerNotify has two parameters other than the event, but as far as I can tell, they don't get passed on anywhere, and I can't find docs on that. What am I missing?

thanks for any help,

	bjorn


----------------------------- Bjorn Roche XO Wave Digital Audio Production and Post-Production Software http://www.xowave.com http://blog.bjornroche.com http://myspace.com/xowave


_______________________________________________ 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: AudioUnit Events
      • From: Bjorn Roche <email@hidden>
  • Prev by Date: Audio Unit render problem
  • Next by Date: converting buffer channels
  • Previous by thread: Re: Audio Unit render problem
  • Next by thread: Re: AudioUnit Events
  • Index(es):
    • Date
    • Thread