diff options
author | 2004-10-04 20:21:05 +0000 | |
---|---|---|
committer | 2004-10-04 20:21:05 +0000 | |
commit | bbb3dc2b3997074d5fa4e04f7228d26ae965606a (patch) | |
tree | 76f3701bf8217a07cc069c36f2ccbcf5334d179c | |
parent | 756bffd08b55b1f6214ff098a022ab92fc43f43f (diff) |
make use of 24bit afmt
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13554 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libmpcodecs/ad_pcm.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libmpcodecs/ad_pcm.c b/libmpcodecs/ad_pcm.c index b19f9ab88e..1ceca67293 100644 --- a/libmpcodecs/ad_pcm.c +++ b/libmpcodecs/ad_pcm.c @@ -31,9 +31,7 @@ static int init(sh_audio_t *sh_audio) 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; |