diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-07-10 23:18:45 +0000 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-02 04:14:43 +0200 |
commit | 5deeba5f6a2b1933355dcda0af94099c051c7fe9 (patch) | |
tree | 1323f5f16214138e19c0ee317c4847c3e56d001c | |
parent | ce19a13986366faae75408fd55914205d0e52180 (diff) | |
download | mpv-5deeba5f6a2b1933355dcda0af94099c051c7fe9.tar.bz2 mpv-5deeba5f6a2b1933355dcda0af94099c051c7fe9.tar.xz |
ao_pcm: Remove some disabled and pointless code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31686 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libao2/ao_pcm.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/libao2/ao_pcm.c b/libao2/ao_pcm.c index 0c86977b62..85d93015c4 100644 --- a/libao2/ao_pcm.c +++ b/libao2/ao_pcm.c @@ -253,18 +253,6 @@ static int get_space(void){ // return: number of bytes played static int play(void* data,int len,int flags){ -// let libaf to do the conversion... -#if 0 -//#if HAVE_BIGENDIAN - if (ao_data.format == AFMT_S16_LE) { - unsigned short *buffer = (unsigned short *) data; - register int i; - for(i = 0; i < len/2; ++i) { - buffer[i] = le2me_16(buffer[i]); - } - } -#endif - if (ao_data.channels == 5 || ao_data.channels == 6 || ao_data.channels == 8) { int frame_size = af_fmt2bits(ao_data.format) / 8; len -= len % (frame_size * ao_data.channels); |