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);