• 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: Getting individual stream latency on a AUHAL object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting individual stream latency on a AUHAL object


  • Subject: Re: Getting individual stream latency on a AUHAL object
  • From: Brian Willoughby <email@hidden>
  • Date: Thu, 25 Aug 2011 12:43:15 -0700


On Aug 25, 2011, at 04:23, Stéphane Letz wrote:
Assuming stream latency is "sometimes" different from 0 (which seems not the case on 3 different cards I've just tested see previous " Measuring Input/Output latencies" mail), how can it be read when the real device is accessed using a AUHAL object?

Basically we "map" the real audio device on a set on N non- interleaved mono channels and we use the kAudioOutputUnitProperty_ChannelMap property to setup the channel mapping to be used. So I guess it should be possible to get the stream latency of any mapped one, directly by accessing the appropriate property of AUHAL.

Can this be done?


I believe that the best you can do is ask the AUHAL object to report what device it is attached to, and then get all of the latency information from the device object. I seem to recall that the AUHAL object does not pass through all of these latency details, although there might be a summary latency - check the headers! The intention is that you get the information directly from the source.

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


References: 
 >Getting individual stream latency on a AUHAL object (From: Stéphane Letz <email@hidden>)

  • Prev by Date: Re: iOS: Is it possible to have multiple parallel AUGraphs using a Remote-I/O Output Unit?
  • Next by Date: HALLab Source
  • Previous by thread: Getting individual stream latency on a AUHAL object
  • Next by thread: Audio Unit Callback buffer question
  • Index(es):
    • Date
    • Thread