Re: Clock Sources
Re: Clock Sources
- Subject: Re: Clock Sources
- From: Herbie Robinson <email@hidden>
- Date: Sat, 6 Jul 2002 19:32:12 -0400
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)?
The reason I ask it that most of the hardware I've used doesn't
really know (or care) what sampling rate it is running at when it is
locked to an external sync source and/or a digital input stream.
This is, BTW, a very common user error (setting the sync source for a
different sample rate than the software thinks it's getting): It
would be cool if applications provided some sort of warning status if
there was discrepancy.
--
-*****************************************
**
http://www.curbside-recording.com/ **
******************************************
_______________________________________________
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.