• 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: Strange AUParameterSet behavior in Logic 6.3.1, OS X 10.2?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange AUParameterSet behavior in Logic 6.3.1, OS X 10.2?


  • Subject: Re: Strange AUParameterSet behavior in Logic 6.3.1, OS X 10.2?
  • From: Rob Martino <email@hidden>
  • Date: Thu, 20 Nov 2003 14:20:16 -0500

Marc,

Thanks for the info, that is good to know. The ParameterListenerProc does do some GUI updating. I've tried different values there up to .5, and it doesn't seem to do much to avoid the crashes. But I'll be sure not to leave it at 0.

Thanks,
Rob

On Thursday, November 20, 2003, at 02:42 PM, Marc Poirier wrote:

On Thu, 20 Nov 2003, Rob Martino wrote:

Listener creation code:

err = AUListenerCreate(ParameterListenerProc, this,
CFRunLoopGetCurrent(), kCFRunLoopDefaultMode, 0.000f, // 0 ms
&parameterListener);


What does ParameterListenerProc do? If it's doing any sort of graphics
rendering work, then this may be the problem. You need to be very careful
if you use 0.0 as the update response rate. When you use 0, that means
that AU listener notifications will immediately jump to calling your
listener proc. If you use a higher value, then the notification will go
into a queue and fire later from an idle thread timer. Unless your
listener proc can guarantee to return quickly, then you should not be
using 0 as the time since the notifications can be coming from the audio
rendering thread. I'm not sure, but this may be the cause of your
instabilities.

Marc
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Strange AUParameterSet behavior in Logic 6.3.1, OS X 10.2?
  • Next by Date: Re: kAudioDevicePropertyStreamFormatMatch rate is zero in Panther
  • Previous by thread: Re: Strange AUParameterSet behavior in Logic 6.3.1, OS X 10.2?
  • Next by thread: Serial MIDI driver for SX-Pro
  • Index(es):
    • Date
    • Thread