supported file formats
supported file formats
- Subject: supported file formats
- From: John Weeks <email@hidden>
- Date: Mon, 08 Jun 2015 12:51:05 -0700
I used AudioFileGetGlobalInfo(kAudioFileGlobalInfo_ReadableTypes...) to get a list of formats that I could decode. The list includes AC3:
0 ) "3gp2" " "3GPP-2 Audio" "
1 ) "3gpp" " "3GP Audio" "
2 ) "AIFC" " "AIFC" "
3 ) "AIFF" " "AIFF" "
4 ) "MPG1" " "MPEG Layer 1" "
5 ) "MPG2" " "MPEG Layer 2" "
6 ) "MPG3" " "MPEG Layer 3" "
7 ) "MooV" " "mov" "
8 ) "NeXT" " "NeXT/Sun" "
9 ) "Sd2f" " "Sound Designer II" "
10 ) "WAVE" " "WAVE" "
11 ) "ac-3" " "AC3" "
12 ) "adts" " "AAC ADTS" "
13 ) "amrf" " "AMR" "
14 ) "caff" " "CAF" "
15 ) "m4af" " "Apple MPEG-4 Audio" "
16 ) "m4bf" " "Apple MPEG-4 AudioBooks" "
17 ) "mp4f" " "MPEG-4 Audio" "
I am using AudioFileOpenURL() to open sound files. I can successfully open .mp3, .wav, .mp4 files. But when I try to open a .ac3 file, I get back 'typ?' error code.
If I double-click one of the files I am able to open, it opens in iTunes.
If I double-click an AC3 file, it opens in QuickTime player.
This brings up a couple of questions:
1) What is the significance of the list above? Is AC3 on the list because of the presence of QuickTime?
2) If AC3 is on this list because of QuickTime, how do I get a list of formats supported by CoreAudio on my machine? That is, formats I can open with AudioFileOpenURL.
Thanks again- the CoreAudio documentation doesn't have much of this kind of information.
-John Weeks
WaveMetrics, Inc.
_______________________________________________
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