• 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: Getting Bit Depths from Default Audio Object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting Bit Depths from Default Audio Object


  • Subject: Re: Getting Bit Depths from Default Audio Object
  • From: "email@hidden" <email@hidden>
  • Date: Thu, 18 Oct 2012 08:49:24 -0700

I'm trying to wrap my head around this. So, am I to understand that a device has multiple available streams (and in this sense stream really means contract) but only one is being selected and used at a time?

For instance, in Apple Audio Midi Setup, I have an output object/device with the following selectable bit depths in the pop-up button: 2ch-24bit Integer, 2ch-20bit Integer, 2ch-16bit Integer. Currently selected is 24bit.

So, to replicate this in code, I would need to iterate through the physical formats of that device's streams. I could then get or set the default/active stream for the device?

Mike

On Oct 18, 2012, at 7:28 AM, Tim Murison wrote:

You need to iterate through the physical formats of the device's streams.

On 2012-10-18, at 3:03 AM, email@hidden wrote:

I am looking for a way to get a list of available bit depths of an audio object like what can be seen in the Apple Audio Midi Setup application. I assumed it would be similar to getting available nominal sample rates from the HAL like below but I can't seem to find a way to do it. Any help would be appreciated.
 _______________________________________________
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: 
 >Getting Bit Depths from Default Audio Object (From: "email@hidden" <email@hidden>)
 >Re: Getting Bit Depths from Default Audio Object (From: Tim Murison <email@hidden>)

  • Prev by Date: Re: Getting Bit Depths from Default Audio Object
  • Next by Date: Re: Getting Bit Depths from Default Audio Object
  • Previous by thread: Re: Getting Bit Depths from Default Audio Object
  • Next by thread: Re: AAC Priming Info Under 64-bit
  • Index(es):
    • Date
    • Thread