Lines Matching refs:phaseWrapLimit
472 const uint32_t phaseWrapLimit = c.mL << c.mShift; in setSampleRate() local
475 * phaseWrapLimit / oldPhaseWrapLimit; in setSampleRate()
476 mPhaseFraction %= phaseWrapLimit; // should not do anything, but just in case. in setSampleRate()
477 mPhaseIncrement = static_cast<uint32_t>(static_cast<uint64_t>(phaseWrapLimit) in setSampleRate()
582 const uint32_t phaseWrapLimit = c.mL << c.mShift; in resample() local
584 / phaseWrapLimit; in resample()
619 if (phaseFraction >= phaseWrapLimit) { // read in data in resample()
624 phaseFraction -= phaseWrapLimit; in resample()
625 while (phaseFraction >= phaseWrapLimit) { in resample()
635 phaseFraction -= phaseWrapLimit; in resample()
656 ALOG_ASSERT(phaseFraction < phaseWrapLimit); in resample()
659 phaseFraction, phaseWrapLimit, in resample()
666 while (phaseFraction >= phaseWrapLimit) { in resample()
672 phaseFraction -= phaseWrapLimit; in resample()