Mercurial > SDL_sound_CoreAudio
changeset 585:eba7b2e13740
merged
author | Eric Wing <ewing@anscamobile.com> |
---|---|
date | Wed, 27 Apr 2011 19:16:32 -0700 |
parents | 2264b134b7ac (diff) 2e5e01679f32 (current diff) |
children | e3f029c68671 |
files | decoders/quicktime.c |
diffstat | 1 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/decoders/coreaudio.c Wed Apr 27 19:13:29 2011 -0700 +++ b/decoders/coreaudio.c Wed Apr 27 19:16:32 2011 -0700 @@ -59,16 +59,20 @@ "mp4", "m4a", "aac", + "adts", "caf", "Sd2f", "Sd2", "au", + "snd", "next", "mp2", "mp1", "ac3", "3gpp", + "3gp", "3gp2", + "3g2", "amrf", "amr", "ima4", @@ -159,7 +163,7 @@ { return kAudioFileAAC_ADTSType; } - else if( (__Sound_strcasecmp(file_extension, "aac") == 0) + else if( (__Sound_strcasecmp(file_extension, "adts") == 0) ) { return kAudioFileAAC_ADTSType; @@ -177,6 +181,7 @@ return kAudioFileSoundDesigner2Type; } else if( (__Sound_strcasecmp(file_extension, "au") == 0) + || (__Sound_strcasecmp(file_extension, "snd") == 0) || (__Sound_strcasecmp(file_extension, "next") == 0) ) { @@ -198,11 +203,13 @@ return kAudioFileAC3Type; } else if( (__Sound_strcasecmp(file_extension, "3gpp") == 0) + || (__Sound_strcasecmp(file_extension, "3gp") == 0) ) { return kAudioFile3GPType; } else if( (__Sound_strcasecmp(file_extension, "3gp2") == 0) + || (__Sound_strcasecmp(file_extension, "3g2") == 0) ) { return kAudioFile3GP2Type;