• 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: How do you get the native bit-depth of the input device?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: How do you get the native bit-depth of the input device?
      • From: Jeff Moore <email@hidden>
References: 
 >How do you get the native bit-depth of the input device? (From: Dave Fernandes <email@hidden>)
 >Re: How do you get the native bit-depth of the input device? (From: William Stewart <email@hidden>)

  • Prev by Date: getting an au into logic
  • Next by Date: what is the algorithm for up- or down-sampling?
  • Previous by thread: Re: How do you get the native bit-depth of the input device?
  • Next by thread: Re: How do you get the native bit-depth of the input device?
  • Index(es):
    • Date
    • Thread