Re: Which Audio Formats are supported directly by CoreAudio
Re: Which Audio Formats are supported directly by CoreAudio
- Subject: Re: Which Audio Formats are supported directly by CoreAudio
- From: William Stewart <email@hidden>
- Date: Wed, 21 Sep 2005 12:09:43 -0700
QT uses CoreAudio as its primary API for audio capabilities.
Therefore, the formats that are available through CA will also be
available through QT.
You can see what formats are available by building the afconvert tool
in the AudioFileTools in our SDK. Then once built, type:
% afconvert
For instance on my tiger machine this is what I see (I've abbreviated
this)
[~] % afconvert
Usage:
afconvert [option...] input_file [output_file]
Options: (may appear before or after arguments)
{ -f | --file } file_format:
'adts' = AAC ADTS (.aac, .adts)
data_formats: 'aac '
'ac-3' = AC3 (.ac3)
data_formats: 'ac-3'
'AIFC' = AIFC (.aif, .aiff, .aifc)
data_formats: BEI8 BEI16 BEI24 BEI32 BEF32
BEF64 'ulaw' 'alaw' 'MAC3' 'MAC6'
'ima4'
'QDMC' 'QDM2' 'Qclp' 'agsm'
'AIFF' = AIFF (.aif, .aiff)
data_formats: BEI8 BEI16 BEI24 BEI32
'caff' = Apple CAF File (.caf)
data_formats: '.mp3' 'MAC3' 'MAC6' 'QDM2' 'QDMC'
'Qclp' 'Qclq' 'aac ' 'agsm' 'alac'
'alaw'
'drms' 'dvca' 'dvi ' 'ima4' 'lpc '
BEI8
BEI16 BEI24 BEI32 BEF32 BEF64 LEI16
LEI24 LEI32 LEF32 LEF64 'ms\x00
\x02' 'ms\x00\x11'
'ms\x001' 'ms\x00U' 'samr' 'ulaw'
'vdva'
'MPG3' = MPEG Layer 3 (.mpeg, .mp3)
data_formats: '.mp3'
'mp4f' = MPEG4 Audio (.mp4)
data_formats: 'aac '
'm4af' = MPEG4 Audio (.m4a)
data_formats: 'aac ' 'alac'
'NeXT' = NeXT/Sun (.snd, .au)
data_formats: BEI8 BEI16 BEI24 BEI32 BEF32
BEF64 'ulaw'
'Sd2f' = Sound Designer II (.sd2)
data_formats: BEI8 BEI16 BEI24 BEI32
'WAVE' = WAVE (.wav)
data_formats: LEUI8 LEI16 LEI24 LEI32 LEF32
LEF64 'ulaw' 'alaw'
What afconvert is doing here is using both the AudioFormat and
AudioFileGlobal APIs to find out:
What file types are installed on the system
- AudioFile and AudioFileComponents
What codecs are installed on the system
- AudioCodec components (with bridging to *some* SM codecs)
What file types support what data formats
The CAF file ('caff') supports any data format - so this format will
show you basically what data formats are installed
You can use the AudioFormat API to get more information about a
particular encode/decode data format (its name, etc)
Bill
On 21/09/2005, at 10:30 AM, Marc Van Olmen wrote:
hi,
is there somewhere a list available which audio formats are
supported natively by coreAudio. Is there a weburl or app that list
them? is this list bigger under Tiger?
Is this the recommended way now to playback audioformats or is it
still better these days to use the new QuickTime 7 audio
decompression components...
regards,
mvo
_______________________________________________
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
--
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