changeset 32989:221d00deafec

Support 32bit big endian float pcm in aiff.
author cehoyos
date Sat, 12 Mar 2011 10:55:33 +0000
parents c99a947dae33
children 47814982af74
files etc/codecs.conf libmpcodecs/ad_pcm.c
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/etc/codecs.conf	Sat Mar 12 10:50:14 2011 +0000
+++ b/etc/codecs.conf	Sat Mar 12 10:55:33 2011 +0000
@@ -4183,6 +4183,7 @@
   format 0x32336e69  ; "in32" (MOV files)
   format 0x696e3332  ; "23ni" (MOV files)
   format 0x6D63706C  ; "lpcm" (MOV files)
+  format 0x32334C46  ; 'FL32" (aiff files)
 ;;;; these are for hardware support only:  (alaw,ulaw,ima-adpcm,mpeg,ac3)
 ;  format 0x6
 ;  format 0x7
--- a/libmpcodecs/ad_pcm.c	Sat Mar 12 10:50:14 2011 +0000
+++ b/libmpcodecs/ad_pcm.c	Sat Mar 12 10:55:33 2011 +0000
@@ -77,6 +77,7 @@
             sh_audio->sample_format = AF_FORMAT_S8;
         break;
     case 0x32336c66: // 'fl32', bigendian float32
+    case 0x32334C46: // 'FL32', bigendian float32 in aiff
         sh_audio->sample_format = AF_FORMAT_FLOAT_BE;
         sh_audio->samplesize = 4;
         break;