Lines Matching refs:inputIndex
134 const TI* const in, const size_t inputIndex) in readAgain() argument
138 head[i] = in[inputIndex*CHANNELS + i]; in readAgain()
146 const TI* const in, const size_t inputIndex) in readAdvance() argument
155 readAgain<CHANNELS>(impulse, halfNumCoefs, in, inputIndex); in readAdvance()
631 size_t inputIndex = 0; in resample() local
659 ALOG_ASSERT(inputIndex <= mBuffer.frameCount, "inputIndex%zu > frameCount%zu", in resample()
660 inputIndex, mBuffer.frameCount); in resample()
676 reinterpret_cast<TI*>(mBuffer.raw), inputIndex); in resample()
677 inputIndex++; in resample()
680 if (inputIndex >= mBuffer.frameCount) { in resample()
681 inputIndex = 0; in resample()
687 reinterpret_cast<TI*>(mBuffer.raw), inputIndex); in resample()
688 inputIndex++; in resample()
721 if (inputIndex >= frameCount) { in resample()
724 mInBuffer.template readAdvance<CHANNELS>(impulse, halfNumCoefs, in, inputIndex); in resample()
725 inputIndex++; in resample()
732 if (inputIndex > 0) { // we've acquired a buffer (alternatively could check frameCount) in resample()
733 ALOG_ASSERT(inputIndex == frameCount, "inputIndex(%zu) != frameCount(%zu)", in resample()
734 inputIndex, frameCount); // must have been fully read. in resample()
735 inputIndex = 0; in resample()
745 ALOG_ASSERT(inputIndex == 0, "Releasing: inputindex:%zu frameCount:%zu phaseFraction:%u", in resample()
746 inputIndex, mBuffer.frameCount, phaseFraction); in resample()