• 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
When is an event not an event?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

When is an event not an event?


  • Subject: When is an event not an event?
  • From: Bjorn Roche <email@hidden>
  • Date: Tue, 4 Sep 2007 16:59:59 -0400

Hey all,

I've been testing my app for working with Audio Unit Plugins, and, in particular, their native UIs. It seems there are several ways a user can change the value of a parameter, and I had previously assumed that they would either do so through my app's interface, or through a "gesture" a la kAudioUnitEvent_ParameterValueChange, kAudioUnitEvent_BeginParameterChangeGesture, and kAudioUnitEvent_EndParameterChangeGesture. This assumption allowed me to ignore events that are, for example, a side-effect of a preset recall. Unfortunately, I discovered the user can change values through the AU GUI without firing BeginParameterChangeGesture, for example, by typing in a new value into a text field. GRRRRR!

Maybe there's other stuff I don't know about, too, like MIDI changes or something. Ultimately, here's the question: how do I figure out if an event came from the UI? (Why do I care? Well, I'd like to know, for starters, if a given change is something that belongs on the Undo list? How do other apps handle this? Am I missing something?)

thanks for any tips,

	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: When is an event not an event?
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: AUEventListenerAddEventType?
  • Next by Date: Re: No Sound after pops
  • Previous by thread: Re: AUEventListenerAddEventType?
  • Next by thread: Re: When is an event not an event?
  • Index(es):
    • Date
    • Thread