• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
getting supported sample rates for device with "lazy kAudioDevicePropertyAvailableNominalSampleRates"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: getting supported sample rates for device with "lazy kAudioDevicePropertyAvailableNominalSampleRates"
      • From: Dave Fernandes <email@hidden>
  • Prev by Date: Re: How to get/set the system alert volume as opposed to device volume
  • Next by Date: Re: getting supported sample rates for device with "lazy kAudioDevicePropertyAvailableNominalSampleRates"
  • Previous by thread: Re: How to get/set the system alert volume as opposed to device volume
  • Next by thread: Re: getting supported sample rates for device with "lazy kAudioDevicePropertyAvailableNominalSampleRates"
  • Index(es):
    • Date
    • Thread