Lines Matching refs:inputIndex
301 size_t inputIndex = mInputIndex; in resample() local
319 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); in resample()
322 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); in resample()
323 inputIndex++; in resample()
324 if (inputIndex >= mBuffer.frameCount) { in resample()
325 inputIndex -= mBuffer.frameCount; in resample()
328 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); in resample()
338 head[i] = in[inputIndex*CHANNELS + i]; in resample()
349 inputIndex++; in resample()
350 if (inputIndex >= frameCount) { in resample()
353 read<CHANNELS>(impulse, phaseFraction, in, inputIndex); in resample()
358 if (inputIndex >= frameCount) { in resample()
359 inputIndex -= frameCount; in resample()
366 mInputIndex = inputIndex; in resample()
381 const int16_t* in, size_t inputIndex) in read() argument
395 head[i] = in[inputIndex*CHANNELS + i]; in read()