getting supported sample rates for device with "lazy kAudioDevicePropertyAvailableNominalSampleRates"
getting supported sample rates for device with "lazy kAudioDevicePropertyAvailableNominalSampleRates"
- Subject: getting supported sample rates for device with "lazy kAudioDevicePropertyAvailableNominalSampleRates"
- From: "René J.V. Bertin" <email@hidden>
- Date: Fri, 07 Sep 2012 19:46:42 +0200
I have a USB output device that is a bit lazy in replying to the kAudioDevicePropertyAvailableNominalSampleRates query: it returns a single AudioValueRange, containing the min and max supported ranges. However, when I check via A.S.M, I see the following supported rates:
6400 8000 11025 12000 16000 22050 24000 32000 44100 48000
The question is, how are these values obtained? I see no other query that, for instance, allows to check if a rate is supported, so how does A.S.M. do the trick? Does it use an internal array of values supported by CoreAudio and/or the HAL to show the rates that fall within the limits given by the device? (In that case, can I assume that the device would accept, say, 14920 or 17890 Hz?)
Thanks in advance,
René
_______________________________________________
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