Mercurial > mplayer.hg
comparison mp3lib/decod386.c @ 23356:73656c3dd7f9
Remove unused synth_1to1_mono()
author | zuxy |
---|---|
date | Tue, 22 May 2007 13:44:14 +0000 |
parents | e070d7f61e9a |
children | 059d7c379fb3 |
comparison
equal
deleted
inserted
replaced
23355:9a59731a67af | 23356:73656c3dd7f9 |
---|---|
82 else { *(samples) = v; } \ | 82 else { *(samples) = v; } \ |
83 } | 83 } |
84 */ | 84 */ |
85 | 85 |
86 static int synth_1to1(real *bandPtr,int channel,unsigned char *out,int *pnt); | 86 static int synth_1to1(real *bandPtr,int channel,unsigned char *out,int *pnt); |
87 | |
88 static int synth_1to1_mono(real *bandPtr,unsigned char *samples,int *pnt) | |
89 { | |
90 short samples_tmp[64]; | |
91 short *tmp1 = samples_tmp; | |
92 int i,ret; | |
93 int pnt1 = 0; | |
94 | |
95 ret = synth_1to1(bandPtr,0,(unsigned char *) samples_tmp,&pnt1); | |
96 samples += *pnt; | |
97 | |
98 for(i=0;i<32;i++) { | |
99 *( (short *) samples) = *tmp1; | |
100 samples += 2; | |
101 tmp1 += 2; | |
102 } | |
103 *pnt += 64; | |
104 | |
105 return ret; | |
106 } | |
107 | |
108 | 87 |
109 static int synth_1to1_mono2stereo(real *bandPtr,unsigned char *samples,int *pnt) | 88 static int synth_1to1_mono2stereo(real *bandPtr,unsigned char *samples,int *pnt) |
110 { | 89 { |
111 int i,ret; | 90 int i,ret; |
112 | 91 |