This appendix describes the audio data and file formats supported in Core Audio as of Mac OS X v10.4.
Each audio file type lists the data formats supported for that type. That is, a converter exists to convert data from the particular file format to any of the listed data formats. Some data formats (such as AC3) cannot be converted to a linear PCM format and therefore cannot be handled by standard audio units.
A Core Audio Format (CAF) file can contain audio data of any format. Any application that supports the CAF file format can write audio data to the file or extract the data it contains. However, the ability to encode or decode the audio data contained within it is dependent on the audio codecs available on the system.
File Format | Data Formats |
---|---|
AAC ( |
|
AC3 ( |
|
AIFC ( |
|
AIFF ( |
|
Apple Core Audio Format ( |
|
MPEG Layer 3 ( |
|
MPEG 4 Audio ( |
|
MPEG 4 Audio ( |
|
NeXT/Sun Audio ( |
|
Sound Designer II ( |
|
WAVE ( |
|
Key for linear PCM formats. For example, BEF32 = Big Endian linear PCM 32 bit floating point.
| Little Endian |
| Big Endian |
| Floating point |
| Integer |
| Unsigned integer |
| Number of bits |
Core Audio includes a number of audio codecs that translate audio data to and from Linear PCM. Codecs for the following audio data type are available in Mac OS X v10.4. Audio applications may install additional encoders and decoders.
Audio data type | Encode from linear PCM? | Decode to linear PCM? |
---|---|---|
MPEG Layer 3 ( | No | Yes |
MACE 3:1 ( | Yes | Yes |
MACE 6:1 ( | Yes | Yes |
QDesign Music 2 ( | Yes | Yes |
QDesign ( | No | Yes |
Qualcomm PureVoice ( | Yes | Yes |
Qualcomm QCELP ( | No | Yes |
AAC ( | Yes | Yes |
Apple Lossless ( | Yes | Yes |
Apple GSM 10:1 ( | No | Yes |
ALaw 2:1 | Yes | Yes |
Apple DRM Audio Decoder ( | No | Yes |
AC-3 | No | No |
DVI 4:1 ( | No | Yes |
Apple IMA 4:1 ( | Yes | Yes |
LPC 23:1 ( | No | Yes |
Microsoft ADPCM | No | Yes |
DVI ADPCM | Yes | Yes |
GSM610 | No | Yes |
AMR Narrowband ( | Yes | Yes |
µLaw 2:1 ( | Yes | Yes |
© 2007 Apple Inc. All Rights Reserved. (Last updated: 2007-01-08)