Mercurial > mplayer.hg
comparison libmpcodecs/ad_pcm.c @ 14055:efe58d68689e
fl32: BE float32 PCM audio in mov files
author | rtognimp |
---|---|
date | Sat, 27 Nov 2004 15:39:38 +0000 |
parents | 0febef62023e |
children | 815f03b7cee5 |
comparison
equal
deleted
inserted
replaced
14054:53ea955d19fa | 14055:efe58d68689e |
---|---|
55 #if 0 | 55 #if 0 |
56 sh_audio->ds->ss_div= sh_audio->samplesize; | 56 sh_audio->ds->ss_div= sh_audio->samplesize; |
57 sh_audio->ds->ss_mul= sh_audio->samplesize * sh_audio->channels; | 57 sh_audio->ds->ss_mul= sh_audio->samplesize * sh_audio->channels; |
58 #endif | 58 #endif |
59 break; | 59 break; |
60 case 0x32336c66: // 'fl32', bigendian float32 | |
61 sh_audio->sample_format=AFMT_AF_FLAGS | AF_FORMAT_BE | AF_FORMAT_F; | |
62 sh_audio->samplesize=4; | |
63 break; | |
60 default: if(sh_audio->samplesize!=2) sh_audio->sample_format=AFMT_U8; | 64 default: if(sh_audio->samplesize!=2) sh_audio->sample_format=AFMT_U8; |
61 } | 65 } |
62 return 1; | 66 return 1; |
63 } | 67 } |
64 | 68 |