Re: Clock Sources
Re: Clock Sources
- Subject: Re: Clock Sources
- From: Jeff Moore <email@hidden>
- Date: Sat, 6 Jul 2002 15:49:18 -0700
On Friday, July 5, 2002, at 04:23 PM, Devendra Parakh wrote:
Is there a generic API to (determine and then)set the clock source
(mainly internal vs. external) on a sound card?
The HAL provides kAudioDevicePropertyClockSource and friends for this
purpose.
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.
But, you probably will still want to send your data at the nominal rate
indicated in the stream format properties, so
kAudioDevicePropertyStreamFormat will provide the information.
--
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.