Lines Matching refs:phaseFraction
578 uint32_t phaseFraction = mPhaseFraction;
583 size_t inFrameCount = (phaseIncrement * (uint64_t)outFrameCount + phaseFraction)
589 // " phaseIncrement:%u phaseFraction:%u phaseWrapLimit:%u",
590 // inFrameCount, outFrameCount, phaseIncrement, phaseFraction, phaseWrapLimit);
601 // " phaseFraction:%u phaseWrapLimit:%u",
602 // inFrameCount, outputIndex, outFrameCount, phaseFraction, phaseWrapLimit);
619 if (phaseFraction >= phaseWrapLimit) { // read in data
624 phaseFraction -= phaseWrapLimit;
625 while (phaseFraction >= phaseWrapLimit) {
635 phaseFraction -= phaseWrapLimit;
651 // from the polyphase filter of (phaseFraction / phaseWrapLimit) in coefs.
654 // " phaseFraction:%u phaseWrapLimit:%u",
655 // inFrameCount, outputIndex, outFrameCount, phaseFraction, phaseWrapLimit);
656 ALOG_ASSERT(phaseFraction < phaseWrapLimit);
659 phaseFraction, phaseWrapLimit,
665 phaseFraction += phaseIncrement;
666 while (phaseFraction >= phaseWrapLimit) {
672 phaseFraction -= phaseWrapLimit;
691 ALOG_ASSERT(inputIndex == 0, "Releasing: inputindex:%zu frameCount:%zu phaseFraction:%u",
692 inputIndex, mBuffer.frameCount, phaseFraction);
695 mPhaseFraction = phaseFraction;