|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Thanks Jeff...
Is there any way to query CoreAudio for the hardware latency? e.g. the time
difference from when a sample enters the audio hardware at
inOutputTime->mHostTime to when it appears as a voltage or optical impulse
on the physical output?
The HAL provides the properties kAudioDevicePropertyLatency and kAudioStreamPropertyLatency. The latency for any particular channel on an audio device is the sum of the device latency and the latency of the stream the channel is in.
inNow->mHostTime - scheduling jitter == scheduledIoProcTime
Note that AUHAL proxies most of the HAL's properties, so you can access them straight from AUHAL without dipping down to the HAL's API.
Thanks
_______________________________________________ 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: | |
| >how to access HAL buffer timestamps when using AUHAL? (From: "Ross Bencina" <email@hidden>) | |
| >Re: how to access HAL buffer timestamps when using AUHAL? (From: Jeff Moore <email@hidden>) | |
| >Re: how to access HAL buffer timestamps when using AUHAL? (From: "Ross Bencina" <email@hidden>) | |
| >Re: how to access HAL buffer timestamps when using AUHAL? (From: Jeff Moore <email@hidden>) |
| Home | Archives | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2011 Apple Inc. All rights reserved.