Lines Matching refs:acc0
184 EAS_I32 acc0; in WT_Interpolate() local
220 acc0 = samp2 - samp1; in WT_Interpolate()
221 acc0 = acc0 * phaseFrac; in WT_Interpolate()
223 acc0 = samp1 + (acc0 >> NUM_PHASE_FRAC_BITS); in WT_Interpolate()
227 *pOutputBuffer++ = (EAS_I16)(acc0 >> 2); in WT_Interpolate()
232 acc0 = phaseFrac >> NUM_PHASE_FRAC_BITS; in WT_Interpolate()
235 if (acc0 > 0) { in WT_Interpolate()
238 pSamples += acc0; in WT_Interpolate()
242 acc0 = (EAS_I32) (pSamples - loopEnd); in WT_Interpolate()
243 if (acc0 >= 0) in WT_Interpolate()
244 pSamples = (const EAS_SAMPLE*) pWTVoice->loopStart + acc0; in WT_Interpolate()
283 EAS_I32 acc0; in WT_InterpolateNoLoop() local
317 acc0 = samp2 - samp1; in WT_InterpolateNoLoop()
318 acc0 = acc0 * phaseFrac; in WT_InterpolateNoLoop()
320 acc0 = samp1 + (acc0 >> NUM_PHASE_FRAC_BITS); in WT_InterpolateNoLoop()
324 *pOutputBuffer++ = (EAS_I16)(acc0 >> 2); in WT_InterpolateNoLoop()
329 acc0 = phaseFrac >> NUM_PHASE_FRAC_BITS; in WT_InterpolateNoLoop()
332 if (acc0 > 0) { in WT_InterpolateNoLoop()
335 pSamples += acc0; in WT_InterpolateNoLoop()
378 EAS_I32 acc0; in WT_VoiceFilter() local
405 acc0 = *pAudioBuffer; in WT_VoiceFilter()
408 acc0 = acc1 + k * acc0; in WT_VoiceFilter()
412 z1 = acc0 >> 14; in WT_VoiceFilter()