Lines Matching refs:phaseFraction
497 uint32_t phaseFraction = mPhaseFraction; in resample() local
502 size_t inFrameCount = (phaseIncrement * (uint64_t)outFrameCount + phaseFraction) in resample()
536 if (phaseFraction >= phaseWrapLimit) { // read in data in resample()
541 phaseFraction -= phaseWrapLimit; in resample()
542 while (phaseFraction >= phaseWrapLimit) { in resample()
552 phaseFraction -= phaseWrapLimit; in resample()
573 ALOG_ASSERT(phaseFraction < phaseWrapLimit); in resample()
576 phaseFraction, phaseWrapLimit, in resample()
582 phaseFraction += phaseIncrement; in resample()
583 while (phaseFraction >= phaseWrapLimit) { in resample()
589 phaseFraction -= phaseWrapLimit; in resample()
609 inputIndex, mBuffer.frameCount, phaseFraction); in resample()
612 mPhaseFraction = phaseFraction; in resample()