Lines Matching refs:inputBuffer
18 private short inputBuffer[]; field in Sonic
185 inputBuffer = new short[maxRequired*numChannels]; in allocateStreamBuffers()
256 inputBuffer = resize(inputBuffer, inputBufferSize); in enlargeInputBufferIfNeeded()
271 inputBuffer[xBuffer++] = (short)(samples[xSample]*32767.0f); in addFloatSamplesToInputBuffer()
285 move(inputBuffer, numInputSamples, samples, 0, numSamples); in addShortSamplesToInputBuffer()
300 inputBuffer[xBuffer++] = (short) (sample << 8); in addUnsignedByteSamplesToInputBuffer()
317 inputBuffer[xBuffer++] = sample; in addBytesToInputBuffer()
328 move(inputBuffer, 0, inputBuffer, position, remainingSamples); in removeInputSamples()
352 copyToOutput(inputBuffer, position, numSamples); in copyInputToOutput()
467 inputBuffer[remainingSamples*numChannels + xSample] = 0; in flushStream()
865 period = findPitchPeriod(inputBuffer, position, true); in changeSpeed()
867 newSamples = skipPitchPeriod(inputBuffer, position, speed, period); in changeSpeed()
870 newSamples = insertPitchPeriod(inputBuffer, position, speed, period); in changeSpeed()
891 copyToOutput(inputBuffer, 0, numInputSamples); in processStreamInput()