diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-12-27 17:30:15 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-12-27 17:30:15 +0000 |
commit | 507121f7fe2d170dd8db99d3112602036ddef718 (patch) | |
tree | 38b26e115cfadde356b005496286f78307839440 /libao2/ao_esd.c | |
parent | 00f99a82a8f57573e3e6982cf9d014c9b9d8a68b (diff) | |
download | mpv-507121f7fe2d170dd8db99d3112602036ddef718.tar.bz2 mpv-507121f7fe2d170dd8db99d3112602036ddef718.tar.xz |
removing AFMT_ dependancy
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14246 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libao2/ao_esd.c')
-rw-r--r-- | libao2/ao_esd.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libao2/ao_esd.c b/libao2/ao_esd.c index 11001062d6..a850ad6009 100644 --- a/libao2/ao_esd.c +++ b/libao2/ao_esd.c @@ -32,7 +32,7 @@ #include "audio_out.h" #include "audio_out_internal.h" -#include "afmt.h" +#include "libaf/af_format.h" #include "config.h" #include "mp_msg.h" #include "help_mp.h" @@ -200,14 +200,14 @@ static int init(int rate_hz, int channels, int format, int flags) /* EsounD can play 8bit unsigned and 16bit signed native */ switch (format) { - case AFMT_S8: - case AFMT_U8: + case AF_FORMAT_S8: + case AF_FORMAT_U8: esd_fmt |= ESD_BITS8; - ao_data.format = AFMT_U8; + ao_data.format = AF_FORMAT_U8; break; default: esd_fmt |= ESD_BITS16; - ao_data.format = AFMT_S16_NE; + ao_data.format = AF_FORMAT_S16_NE; bytes_per_sample *= 2; break; } |