diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-05-14 21:16:00 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-05-14 21:16:00 +0000 |
commit | 1499a0df6fe762727dd9156fe577fb20f46f1083 (patch) | |
tree | 75ea7f0b306898003d90cc5338e40899d634e455 /libao2 | |
parent | 7c496e41eeeac345c90cb8a9bd520c27f6a735e7 (diff) | |
download | mpv-1499a0df6fe762727dd9156fe577fb20f46f1083.tar.bz2 mpv-1499a0df6fe762727dd9156fe577fb20f46f1083.tar.xz |
removed #ifdefs that are already handled by libao2/afmt.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12477 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libao2')
-rw-r--r-- | libao2/afmt.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/libao2/afmt.c b/libao2/afmt.c index 3eb81e84be..9383079a86 100644 --- a/libao2/afmt.c +++ b/libao2/afmt.c @@ -30,18 +30,10 @@ char *audio_out_format_name(int format) return("MPEG (2) audio"); case AFMT_AC3: return("AC3"); -/* - the following two formats are not available with old linux kernel - headers (e.g. in 2.2.16) -*/ -#ifdef AFMT_S32_LE case AFMT_S32_LE: return("Signed 32-bit (Little-Endian)"); -#endif -#ifdef AFMT_S32_BE case AFMT_S32_BE: return("Signed 32-bit (Big-Endian)"); -#endif case AFMT_FLOAT: return("Floating Point"); } @@ -58,18 +50,8 @@ int audio_out_format_bits(int format){ case AFMT_U16_BE: return 16;//16 bits -/* - the following two formats are not available with old linux kernel - headers (e.g. in 2.2.16) -*/ -#ifdef AFMT_S32_LE case AFMT_S32_LE: - return 32; -#endif -#ifdef AFMT_S32_BE case AFMT_S32_BE: - return 32; -#endif case AFMT_FLOAT: return 32; |