diff options
author | 2004-10-05 19:18:22 +0000 | |
---|---|---|
committer | 2004-10-05 19:18:22 +0000 | |
commit | 51974735e9d281ba86bdb660da6efbbb60e92797 (patch) | |
tree | 2fc8990ba7bc93b663e73b00079b10c9527588ac | |
parent | fe4f5a43369f5316f71beda73b4cd331ed9c2e28 (diff) |
unsinged 32 and 24bit types
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13566 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libao2/afmt.c | 12 |
1 files changed, 12 insertions, 0 deletions
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: |