• 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: Latency
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Latency


  • Subject: Re: Latency
  • From: Brian Willoughby <email@hidden>
  • Date: Tue, 28 Dec 2010 10:45:48 -0800


On Dec 28, 2010, at 09:27, Gregory Wieber wrote:
After more digging, I found kAudioUnitPropery_PresentationLatency in AudioUnitProperties.h . I haven't been able to find any detailed documentation, but have found one ore two mentions of it on the mailing lists. This seems like what I need for accurately scheduling MIDI events in the future, so I'll give it a try. If anyone has used this with an Audio Graph setup, and cares to offer advice on implementation, I'd greatly appreciate it.

I recall reading elsewhere, possibly about a similar HAL property, that the latency may vary during runtime. Is this something I need to keep an eye on? Is there a proper way of doing so that won't become a bottleneck? (Checking the property constantly that is...)
In general, the proper way of handling any variance in CoreAudio is to register for Property changes. I'm sure you can just register kAudioUnitProperty_PresentationLatency and then you will only need to run your update code exactly once for each change.

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: Latency
      • From: Gregory Wieber <email@hidden>
References: 
 >Re: Latency (From: Gregory Wieber <email@hidden>)

  • Prev by Date: Re: Latency
  • Next by Date: Re: Latency
  • Previous by thread: Re: Latency
  • Next by thread: Re: Latency
  • Index(es):
    • Date
    • Thread