• 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: AuBase::GetLatency()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AuBase::GetLatency()


  • Subject: Re: AuBase::GetLatency()
  • From: Brian Willoughby <email@hidden>
  • Date: Tue, 19 Oct 2004 04:34:39 -0700

[  a question about AuBase::GetLatency().
[
[  When is the host likely/required to call this? During initialisation?
[  Or constantly?

*if* a host wanted to stay abreast of latency changes in its hosted
AudioUnits, I imagine that the proper CoreAudio API mechanism would be to
register for changes using
AudioUnitAddPropertyListener(kAudioUnitProperty_Latency, ...) rather than
constantly calling the same function.  Polling is old-skool & really bad on a
multithreaded system.

Using such a callback, the host could know right away when a plug-in changes
its reported latency.  However, whether or not the host is designed to be able
to instantly adjust for a different latency is obviously going to vary from
host to host.

Brian Willoughby
Sound Consulting
 _______________________________________________
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: AuBase::GetLatency()
      • From: Stefan Gretscher <email@hidden>
References: 
 >AuBase::GetLatency() (From: Os <email@hidden>)

  • Prev by Date: Re: AuBase::GetLatency()
  • Next by Date: AU question: asynchroneous pulling
  • Previous by thread: Re: AuBase::GetLatency()
  • Next by thread: Re: AuBase::GetLatency()
  • Index(es):
    • Date
    • Thread