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

Reading supported sample rate in a device


  • Subject: Reading supported sample rate in a device
  • From: Stéphane Letz <email@hidden>
  • Date: Thu, 9 Jun 2005 19:06:18 +0200

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Reading supported sample rate in a device
      • From: Jeff Moore <email@hidden>
    • Re: Reading supported sample rate in a device
      • From: Matt Ingalls <email@hidden>
  • Prev by Date: Fat custom AU issue
  • Next by Date: Re: Reading supported sample rate in a device
  • Previous by thread: Re: Fat custom AU issue
  • Next by thread: Re: Reading supported sample rate in a device
  • Index(es):
    • Date
    • Thread