• 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: AU latency compensation "look-ahead"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AU latency compensation "look-ahead"


  • Subject: Re: AU latency compensation "look-ahead"
  • From: Marc Poirier <email@hidden>
  • Date: Tue, 4 Nov 2003 09:03:37 -0600 (CST)

On Tue, 4 Nov 2003, Urs Heckmann wrote:

> Hi Andrew,
>
> this is simple: Yes, you can.
>
> Just override AUBase::GetLatency(). - It returns a 64bit float with
> Latency in seconds, not samples.
>
> Oh... uhm... I think you also have to override AUBase:: SupportsTail ()
> and return true here.

No, Tail is not related to latency (I wasn't sure about this before, but I
wrote here once about that and it was confirmed). But you still
definitely should override SupportsTail() if your plugin has a predictable
tail time, and then if it's something other than 0 seconds, also override
GetTailTime().

Also, I just wanted to add that, if the amount of latency in your plugin
is something that can change, you can use
PropertyChanged(kAudioUnitProperty_Latency, kAudioUnitScope_Global, 0); to
report that so that the host knows and can accommodate for the new
latency. So far I only know of Spark as a host that will handle these
changes on the fly, although there are some other hosts out there *ehem*
that really should!

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.

References: 
 >Re: AU latency compensation "look-ahead" (From: Urs Heckmann <email@hidden>)

  • Prev by Date: Re: AU latency compensation "look-ahead"
  • Next by Date: MusicEventIteratorGetEventInfo void **outEventData
  • Previous by thread: Re: AU latency compensation "look-ahead"
  • Next by thread: MusicEventIteratorGetEventInfo void **outEventData
  • Index(es):
    • Date
    • Thread