Mercurial > mplayer.hg
changeset 23356:73656c3dd7f9
Remove unused synth_1to1_mono()
author | zuxy |
---|---|
date | Tue, 22 May 2007 13:44:14 +0000 |
parents | 9a59731a67af |
children | ab5ff1c5ccaa |
files | mp3lib/decod386.c |
diffstat | 1 files changed, 0 insertions(+), 21 deletions(-) [+] |
line wrap: on
line diff
--- 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;