Lines Matching refs:inputIndex
127 const TI* const in, const size_t inputIndex)
131 head[i] = in[inputIndex*CHANNELS + i];
139 const TI* const in, const size_t inputIndex)
148 readAgain<CHANNELS>(impulse, halfNumCoefs, in, inputIndex);
496 size_t inputIndex = 0;
523 // check inputIndex overflow
524 ALOG_ASSERT(inputIndex <= mBuffer.frameCount, "inputIndex%d > frameCount%d",
525 inputIndex, mBuffer.frameCount);
539 reinterpret_cast<TI*>(mBuffer.raw), inputIndex);
540 inputIndex++;
543 if (inputIndex >= mBuffer.frameCount) {
544 inputIndex = 0;
550 reinterpret_cast<TI*>(mBuffer.raw), inputIndex);
551 inputIndex++;
584 if (inputIndex >= frameCount) {
587 mInBuffer.template readAdvance<CHANNELS>(impulse, halfNumCoefs, in, inputIndex);
588 inputIndex++;
595 if (inputIndex > 0) { // we've acquired a buffer (alternatively could check frameCount)
596 ALOG_ASSERT(inputIndex == frameCount, "inputIndex(%d) != frameCount(%d)",
597 inputIndex, frameCount); // must have been fully read.
598 inputIndex = 0;
605 // inputIndex must be zero in all three cases:
608 ALOG_ASSERT(inputIndex == 0, "Releasing: inputindex:%d frameCount:%d phaseFraction:%u",
609 inputIndex, mBuffer.frameCount, phaseFraction);