comparison mp3lib/decod386.c @ 13188:f60bc2314146

small gcc warning fixes
author rathann
date Sat, 28 Aug 2004 20:59:49 +0000
parents 4e6f75467d64
children 07e7a572bd84
comparison
equal deleted inserted replaced
13187:ec342714b8a9 13188:f60bc2314146
75 else if( v < -32768) { *(samples) = -0x8000; (clip)++; } \ 75 else if( v < -32768) { *(samples) = -0x8000; (clip)++; } \
76 else { *(samples) = v; } \ 76 else { *(samples) = v; } \
77 } 77 }
78 */ 78 */
79 79
80 static int synth_1to1(real *bandPtr,int channel,unsigned char *out,int *pnt);
81
80 static int synth_1to1_mono(real *bandPtr,unsigned char *samples,int *pnt) 82 static int synth_1to1_mono(real *bandPtr,unsigned char *samples,int *pnt)
81 { 83 {
82 short samples_tmp[64]; 84 short samples_tmp[64];
83 short *tmp1 = samples_tmp; 85 short *tmp1 = samples_tmp;
84 int i,ret; 86 int i,ret;
114 } 116 }
115 117
116 static synth_func_t synth_func; 118 static synth_func_t synth_func;
117 119
118 #if defined(CAN_COMPILE_X86_ASM) 120 #if defined(CAN_COMPILE_X86_ASM)
119 static int synth_1to1_MMX( real *bandPtr,int channel,short * samples) 121 int synth_1to1_MMX( real *bandPtr,int channel,short * samples)
120 { 122 {
121 static short buffs[2][2][0x110]; 123 static short buffs[2][2][0x110];
122 static int bo = 1; 124 static int bo = 1;
123 synth_1to1_MMX_s(bandPtr, channel, samples, (short *) buffs, &bo); 125 synth_1to1_MMX_s(bandPtr, channel, samples, (short *) buffs, &bo);
124 return 0; 126 return 0;