Lines Matching refs:phaseFrac
185 EAS_I32 phaseFrac; in WT_Interpolate() local
205 phaseFrac = pWTVoice->phaseFrac; in WT_Interpolate()
223 acc0 = acc0 * phaseFrac; in WT_Interpolate()
232 phaseFrac += phaseInc; in WT_Interpolate()
234 acc0 = phaseFrac >> NUM_PHASE_FRAC_BITS; in WT_Interpolate()
241 phaseFrac = (EAS_I32)((EAS_U32)phaseFrac & PHASE_FRAC_MASK); in WT_Interpolate()
263 pWTVoice->phaseFrac = (EAS_U32) phaseFrac; in WT_Interpolate()
284 EAS_I32 phaseFrac; in WT_InterpolateNoLoop() local
304 phaseFrac = (EAS_I32)(pWTVoice->phaseFrac & PHASE_FRAC_MASK); in WT_InterpolateNoLoop()
323 acc0 = acc0 * phaseFrac; in WT_InterpolateNoLoop()
332 phaseFrac += phaseInc; in WT_InterpolateNoLoop()
334 nextSamplePhaseInc = phaseFrac >> NUM_PHASE_FRAC_BITS; in WT_InterpolateNoLoop()
346 phaseFrac = (EAS_I32)((EAS_U32)phaseFrac & PHASE_FRAC_MASK); in WT_InterpolateNoLoop()
363 pWTVoice->phaseFrac = (EAS_U32) phaseFrac; in WT_InterpolateNoLoop()
478 nInterpolatedSample = MULT_AUDIO_COEF( tmp0, (PHASE_ONE - pWTVoice->phaseFrac)); in WT_NoiseGenerator()
479 nInterpolatedSample += MULT_AUDIO_COEF( tmp1, pWTVoice->phaseFrac); in WT_NoiseGenerator()
483 pWTVoice->phaseFrac += (EAS_U32) phaseInc; in WT_NoiseGenerator()
484 if (GET_PHASE_INT_PART(pWTVoice->phaseFrac)) { in WT_NoiseGenerator()
489 pWTVoice->phaseFrac = GET_PHASE_FRAC_PART(pWTVoice->phaseFrac); in WT_NoiseGenerator()
624 currentPhaseFrac = pWTVoice->phaseFrac; in WT_InterpolateMono()
662 pWTVoice->phaseFrac = currentPhaseFrac; in WT_InterpolateMono()