Lines Matching refs:inputIndex
302 size_t inputIndex = mInputIndex; in resample() local
320 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); in resample()
323 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); in resample()
324 inputIndex++; in resample()
325 if (inputIndex >= mBuffer.frameCount) { in resample()
326 inputIndex -= mBuffer.frameCount; in resample()
329 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); in resample()
339 head[i] = in[inputIndex*CHANNELS + i]; in resample()
350 inputIndex++; in resample()
351 if (inputIndex >= frameCount) { in resample()
354 read<CHANNELS>(impulse, phaseFraction, in, inputIndex); in resample()
359 if (inputIndex >= frameCount) { in resample()
360 inputIndex -= frameCount; in resample()
367 mInputIndex = inputIndex; in resample()
382 const int16_t* in, size_t inputIndex) in read() argument
396 head[i] = in[inputIndex*CHANNELS + i]; in read()