Re: Getting Bit Depths from Default Audio Object
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. 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