# HG changeset patch # User Eric Wing # Date 1303956992 25200 # Node ID eba7b2e1374039b39b39ebe31d7405a1cceb4801 # Parent 2264b134b7ac3e182f63443a84d2fc987aeedc39# Parent 2e5e01679f320b219ba5fa2994c1c02392dc88ca merged diff -r 2e5e01679f32 -r eba7b2e13740 decoders/coreaudio.c --- 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;