Re: Sampling Rate Support
Re: Sampling Rate Support
- Subject: Re: Sampling Rate Support
- From: BlazeAudio Developer <email@hidden>
- Date: Fri, 25 Apr 2003 17:07:45 -0700
It seems like a lot of applications (including the Daisy sample) do not
look at the range.
I have now added some discrete rates as well as the range to the stream
formats.
Thanks.
Devendra.
At 06:37 PM 4/23/2003, Jeff Moore wrote:
You are reporting the fact that your hardware does a continuous range
correctly. It's just that most apps don't really care about the
sample rate of the hardware. They will just use whatever is set when
they launch and do rate conversion to get their data into the right
sample rate. Apps that do care, tend to care only about the commonly
used sample rates, like 44100, 48000, 96000, etc.
At any rate, the HAL reports the continuous range via
kAudioDevicePropertyAvailableNominalSampleRates since the
AudioStreamBasicDescriptions provided through
kAudioDevicePropertyStreamFormats or
kAudioStreamPropertyPhysicalFormats will report the rate as
kAudioStreamAnyRate.
On Wednesday, April 23, 2003, at 05:10 PM, BlazeAudio Developer
wrote:
Does a driver need to specify "discreet" sampling rates even when
the
hardware can support a range of sampling rates?
We have a device which can support a range of sampling rates, and
so we
call addAvailableFormat() with the minimum and maximum rates.
However, some applications do not seem to "realize" this and
claim that
the device does not support anything except 44.1K!
Thanks.
Devendra.
--
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.
_______________________________________________
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.