Re: Clock Sources
Re: Clock Sources
- Subject: Re: Clock Sources
- From: Jeff Moore <email@hidden>
- Date: Sat, 6 Jul 2002 18:21:42 -0700
On Saturday, July 6, 2002, at 04:32 PM, Herbie Robinson wrote:
And if yes, how can an application find out what the current sample
rate
is (in case of an external source).
In Jaguar, the new property kAudioDevicePropertyActualSampleRate
returns this information.
Is this sampling rate guaranteed to be the rate the data is moving at
(computed by counting samples against the host clock)?
[ if so, does the HAL compute this based on the arrival of samples
to/from the driver? How much smoothing is done?]
Or is this the sampling rate the hardware has been told it is running
at (either from user configuration or from sub-code data in the
digital stream)?
This number is derived from the time stamps the driver provides the HAL.
--
Jeff Moore
Core Audio
Apple
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.