# HG changeset patch # User rtognimp # Date 1086556729 0 # Node ID 4edbef7dd28de46405d03d948d11012aa44b066f # Parent 2beafad68f681af1b86cf1bcf6628a1cfd5fcedd More support for audio format 0x0 Patch by Reimar Doeffinger diff -r 2beafad68f68 -r 4edbef7dd28d libmpcodecs/ad_pcm.c --- a/libmpcodecs/ad_pcm.c Sun Jun 06 19:06:39 2004 +0000 +++ b/libmpcodecs/ad_pcm.c Sun Jun 06 21:18:49 2004 +0000 @@ -26,6 +26,7 @@ sh_audio->samplesize=(h->wBitsPerSample+7)/8; sh_audio->sample_format=AFMT_S16_LE; // default switch(sh_audio->format){ /* hardware formats: */ + case 0x0: case 0x1: // Microsoft PCM switch (sh_audio->samplesize) { case 1: sh_audio->sample_format=AFMT_U8; break;