Re: How do you get the native bit-depth of the input device?
Re: How do you get the native bit-depth of the input device?
- Subject: Re: How do you get the native bit-depth of the input device?
- From: Dave Fernandes <email@hidden>
- Date: Fri, 10 Aug 2007 19:49:37 -0400
Thanks! It took me a while to figure out how to get this format info,
but I think it is working. I'm using the "master channel" of the
AudioDevice to get the AudioStream to get the format. Is this
correct? I can't find any documentation on what exactly a master
channel is.
Dave
On Aug 6, 2007, at 2:57 PM, William Stewart wrote:
In AudioHardware.h there are format descriptor properties for the
virtual and physical formats of the device. The virtual format is
normally the canonical Float32. The physical format is whatever the
device is using.
On 02/08/2007, at 2:24 PM, Dave Fernandes wrote:
The AudioOutputUnit nicely provides a stream of Float32 samples.
But I would like to choose the bit-depth of the file I am
recording to based on the precision of the input device. So how
can I determine this precision? The stream format for the input
device always says that precision is 32 bits per channel since it
is a floating point stream.
Dave Fernandes
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com
This email sent to email@hidden
--
mailto:email@hidden
tel: +1 408 974 4056
______________________________________________________________________
____
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
______________________________________________________________________
____
_______________________________________________
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