# HG changeset patch # User zuxy # Date 1179841454 0 # Node ID 73656c3dd7f9220ab13a459614b558666eb36818 # Parent 9a59731a67afb604d790b449301841bfe816ef50 Remove unused synth_1to1_mono() diff -r 9a59731a67af -r 73656c3dd7f9 mp3lib/decod386.c --- a/mp3lib/decod386.c Mon May 21 17:01:33 2007 +0000 +++ b/mp3lib/decod386.c Tue May 22 13:44:14 2007 +0000 @@ -85,27 +85,6 @@ static int synth_1to1(real *bandPtr,int channel,unsigned char *out,int *pnt); -static int synth_1to1_mono(real *bandPtr,unsigned char *samples,int *pnt) -{ - short samples_tmp[64]; - short *tmp1 = samples_tmp; - int i,ret; - int pnt1 = 0; - - ret = synth_1to1(bandPtr,0,(unsigned char *) samples_tmp,&pnt1); - samples += *pnt; - - for(i=0;i<32;i++) { - *( (short *) samples) = *tmp1; - samples += 2; - tmp1 += 2; - } - *pnt += 64; - - return ret; -} - - static int synth_1to1_mono2stereo(real *bandPtr,unsigned char *samples,int *pnt) { int i,ret;