changeset 13553:0febef62023e

make use of 24bit afmt
author alex
date Mon, 04 Oct 2004 20:21:05 +0000
parents d40a1dfbf1d9
children b2c7e0d1d1d2
files libmpcodecs/ad_pcm.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ad_pcm.c	Mon Oct 04 19:50:40 2004 +0000
+++ b/libmpcodecs/ad_pcm.c	Mon Oct 04 20:21:05 2004 +0000
@@ -31,9 +31,7 @@
        switch (sh_audio->samplesize) {
          case 1: sh_audio->sample_format=AFMT_U8; break;
          case 2: sh_audio->sample_format=AFMT_S16_LE; break;
-         case 3: sh_audio->sample_format=AFMT_AF_FLAGS | AF_FORMAT_I |
-                   AF_FORMAT_LE | AF_FORMAT_SI;
-           break;
+         case 3: sh_audio->sample_format=AFMT_S24_LE; break;
          case 4: sh_audio->sample_format=AFMT_S32_LE; break;
        }
        break;