• 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
AudioTimeStamps in HAL IOProc & HW latency
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AudioTimeStamps in HAL IOProc & HW latency


  • Subject: AudioTimeStamps in HAL IOProc & HW latency
  • From: Sven Behne <email@hidden>
  • Date: Wed, 27 Oct 2004 15:57:32 +0200

Hi,

I have a few questions regarding the input and ouput time stamps in the AudioDevice's IOProc, where the documentation and the CoreAudio header files are a little vague (at least to me).

Is the input time stamp (no matter wheter mSampleTime or mHostTime) the time when the driver receives the audio data from the hardware? If yes, this would mean input time stamp minus input hardware latency (kAudioDevicePropertyLatency) is the point in time when the (analog) audio signal was recorded (via mic/DI or whatever).
For the output this would mean, that the output time stamp is the estimate time when the driver will receive the data and the signal will be audible kAudioDevicePropertyLatency frames later?


If these assumptions are right so far, the minimum thru time for a device should be in_hw_latency + in_buf_size + in_safety_offset + out_buf_size + out_safety_offset + out_hw_latency?

Regards,

Sven

_______________________________________________
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: AudioTimeStamps in HAL IOProc & HW latency
      • From: William Stewart <email@hidden>
    • Re: AudioTimeStamps in HAL IOProc & HW latency
      • From: Jeff Moore <email@hidden>
  • Prev by Date: Re: unique class name in Cocoa UI?
  • Next by Date: Re: unique class name in Cocoa UI?
  • Previous by thread: Re: unique class name in Cocoa UI?
  • Next by thread: Re: AudioTimeStamps in HAL IOProc & HW latency
  • Index(es):
    • Date
    • Thread