• 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
AU Latency & Logic Live Mode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AU Latency & Logic Live Mode


  • Subject: AU Latency & Logic Live Mode
  • From: Martin Saleteg <email@hidden>
  • Date: Sat, 22 Mar 2008 12:15:03 +0100

List,

I am having a hard time with "Live Mode" tracks in Logic. Logic calls my plugin with the number of samples specified either by HW Buffer Size or Process Buffer Range. Since my plugin buffers internally, processing latency will depend on the process buffer size.

I am currently firing a PropertyChanged() to notify Logic about changed kAudioUnitProperty_Latency, and GetLatency() gets called as a result of that. This works fine, with one exception:

When selecting or record enabling tracks in Logic, they go into "Live Mode". This causes the process buffer size to be equal to the specified audio device buffer size. The only way I know about this is when the Render() call comes with a certain buffer size. Then I can adjust latency and report it back to Logic.

Thus - whenever a track is set to Live Mode, it will have the "old" latency compensation value, causing it to be out of sync until the next Play/Stop cycle (when Logic has adopted the new GetLatency() value).

Is there any way I can know when a track is being set to Live Mode, or any other method I can implement to know about buffer size before actually hitting play?


Thanks,

Martin Saleteg

_______________________________________________
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: AU Latency & Logic Live Mode
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: [FAQ?] re>x-code template project for AU with cocoa view
  • Next by Date: Auval doesn't work on intel powerbook
  • Previous by thread: Re: kConverterPrimeMethod_None not working on Tiger
  • Next by thread: Re: AU Latency & Logic Live Mode
  • Index(es):
    • Date
    • Thread