• 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: Reading supported sample rate in a device
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading supported sample rate in a device


  • Subject: Re: Reading supported sample rate in a device
  • From: Matt Ingalls <email@hidden>
  • Date: Thu, 9 Jun 2005 11:06:33 -0700

I seem to recall the iMic always reported  sr = 0...

On Jun 9, 2005, at 10:06 AM, Stéphane Letz wrote:

On Panther we were using the kAudioDevicePropertyStreamFormats property to get information on all supported formats, then read the mSampleRate field to get the supported sample rate for each of the stream format that was available.

On Tiger when used on an agregate device built with the USB iMic (so that the 2 input/output internal device appears as a single device easier to handle) twochannels can be retrieved but both show a sample rate value of 0!

Is this behaviour a bug ?

I see that HALCode is using the kAudioDevicePropertyAvailableNominalSampleRates property to get the sample rate values.

Is this the recommended way of doing?

Thanks

Stephane Letz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden


_______________________________________________ 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
References: 
 >Reading supported sample rate in a device (From: Stéphane Letz <email@hidden>)

  • Prev by Date: Reading supported sample rate in a device
  • Next by Date: Re: Reading supported sample rate in a device
  • Previous by thread: Reading supported sample rate in a device
  • Next by thread: Re: Reading supported sample rate in a device
  • Index(es):
    • Date
    • Thread