• 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
Re: Sampling Rate Support
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sampling Rate Support


  • Subject: Re: Sampling Rate Support
  • From: Jeff Moore <email@hidden>
  • Date: Wed, 23 Apr 2003 18:37:49 -0700

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.

  • Follow-Ups:
    • Re: Sampling Rate Support
      • From: BlazeAudio Developer <email@hidden>
  • Prev by Date: Re: Clock Sources
  • Next by Date: Re: Core Audio HAL Localization
  • Previous by thread: Sampling Rate Support
  • Next by thread: Re: Sampling Rate Support
  • Index(es):
    • Date
    • Thread