AudioTimeStamps in HAL IOProc & HW latency
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