From 5deeba5f6a2b1933355dcda0af94099c051c7fe9 Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 10 Jul 2010 23:18:45 +0000 Subject: [PATCH] ao_pcm: Remove some disabled and pointless code git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31686 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libao2/ao_pcm.c | 12 ------------ 1 file changed, 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);