From 51974735e9d281ba86bdb660da6efbbb60e92797 Mon Sep 17 00:00:00 2001 From: alex Date: Tue, 5 Oct 2004 19:18:22 +0000 Subject: [PATCH] unsinged 32 and 24bit types git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13566 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libao2/afmt.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/libao2/afmt.c b/libao2/afmt.c index 78ddd9ddf2..b12ecc1f46 100644 --- a/libao2/afmt.c +++ b/libao2/afmt.c @@ -30,10 +30,18 @@ char *audio_out_format_name(int format) return("MPEG (2) audio"); case AFMT_AC3: return("AC3"); + case AFMT_U32_LE: + return("Unsigned 32-bit (Little-Endian)"); + case AFMT_U32_BE: + return("Unsigned 32-bit (Big-Endian)"); case AFMT_S32_LE: return("Signed 32-bit (Little-Endian)"); case AFMT_S32_BE: return("Signed 32-bit (Big-Endian)"); + case AFMT_U24_LE: + return("Unsigned 24-bit (Little-Endian)"); + case AFMT_U24_BE: + return("Unsigned 24-bit (Big-Endian)"); case AFMT_S24_LE: return("Signed 24-bit (Little-Endian)"); case AFMT_S24_BE: @@ -56,11 +64,15 @@ int audio_out_format_bits(int format){ case AFMT_S32_LE: case AFMT_S32_BE: + case AFMT_U32_LE: + case AFMT_U32_BE: case AFMT_FLOAT: return 32; case AFMT_S24_LE: case AFMT_S24_BE: + case AFMT_U24_LE: + case AFMT_U24_BE: return 24; case AFMT_MU_LAW: