Lines Matching refs:phaseWrapLimit
525 const uint32_t phaseWrapLimit = c.mL << c.mShift; in setSampleRate() local
528 * phaseWrapLimit / oldPhaseWrapLimit; in setSampleRate()
529 mPhaseFraction %= phaseWrapLimit; // should not do anything, but just in case. in setSampleRate()
530 mPhaseIncrement = static_cast<uint32_t>(static_cast<uint64_t>(phaseWrapLimit) in setSampleRate()
647 const uint32_t phaseWrapLimit = c.mL << c.mShift; in resample() local
649 / phaseWrapLimit; in resample()
684 if (phaseFraction >= phaseWrapLimit) { // read in data in resample()
689 phaseFraction -= phaseWrapLimit; in resample()
690 while (phaseFraction >= phaseWrapLimit) { in resample()
700 phaseFraction -= phaseWrapLimit; in resample()
721 ALOG_ASSERT(phaseFraction < phaseWrapLimit); in resample()
724 phaseFraction, phaseWrapLimit, in resample()
731 while (phaseFraction >= phaseWrapLimit) { in resample()
737 phaseFraction -= phaseWrapLimit; in resample()