• 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
AUEventListener sending incorrect parameter changes?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AUEventListener sending incorrect parameter changes?


  • Subject: AUEventListener sending incorrect parameter changes?
  • From: Michael Norris <email@hidden>
  • Date: Fri, 21 Mar 2008 14:22:36 +1300

Hi there

I've noticed some slightly odd behaviour with AUEventListenerCreate and the default UI for AudioUnits.

My code opens the AUBandpass window with the default UI (two sliders). I also set up parameter listeners on these two sliders using the following code:

CFRunLoopRef runLoop = (CFRunLoopRef)GetCFRunLoopFromEventLoop(GetCurrentEventLoop());
result = AUEventListenerCreate(MyPropertyListener,
NULL,
runLoop,
kCFRunLoopCommonModes,
.100,
.100,
&MyListener);


When I click and drag the first slider, I get parameter change notifications as expected.

However, if I then click on the second slider, WITHOUT moving the mouse, I get a parameter change for the value of the first parameter. Only when I move the mouse do I get the parameter changes for the second parameter.

I would appreciate it if someone could explain why this is happening, and/or how to work around it?

Thanks
Michael
_______________________________________________
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: AUEventListener sending incorrect parameter changes?
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: Creating custom sheets
  • Next by Date: no resizeindicator in AU window (Logic 8)
  • Previous by thread: App hanging in AudioQueueStop
  • Next by thread: Re: AUEventListener sending incorrect parameter changes?
  • Index(es):
    • Date
    • Thread