Home | History | Annotate | Download | only in sonic

Lines Matching refs:position

77         int position,
82 int start = position*numChannels;
324 int position)
326 int remainingSamples = numInputSamples - position;
328 move(inputBuffer, 0, inputBuffer, position, remainingSamples);
335 int position,
339 move(outputBuffer, numOutputSamples, samples, position, numSamples);
345 int position)
352 copyToOutput(inputBuffer, position, numSamples);
492 int position,
499 position *= numChannels;
503 value += samples[position + i*samplesPerValue + j];
515 int position,
524 position *= numChannels;
528 short sVal = samples[position + i];
529 short pVal = samples[position + period + i];
583 int position,
595 period = findPitchPeriodInRange(samples, position, minPeriod, maxPeriod, minDiff, maxDiff);
597 downSampleInput(samples, position, skip);
611 period = findPitchPeriodInRange(samples, position, minP, maxP, minDiff, maxDiff);
613 downSampleInput(samples, position, 1);
719 int position = 0;
725 while(numPitchSamples - position >= maxRequired) {
726 period = findPitchPeriod(pitchBuffer, position, false);
731 position, pitchBuffer, position + period - newPeriod);
735 pitchBuffer, position, pitchBuffer, position);
738 position += period;
740 removePitchSamples(position);
752 int position = newRatePosition*oldSampleRate;
755 int ratio = rightPosition - position;
768 int position;
780 for(position = 0; position < numPitchSamples - 1; position++) {
784 outputBuffer[numOutputSamples*numChannels + i] = interpolate(pitchBuffer, position + i,
800 removePitchSamples(position);
807 int position,
820 overlapAdd(newSamples, numChannels, outputBuffer, numOutputSamples, samples, position,
821 samples, position + period);
829 int position,
842 move(outputBuffer, numOutputSamples, samples, position, period);
844 position + period, samples, position);
855 int position = 0, period, newSamples;
862 newSamples = copyInputToOutput(position);
863 position += newSamples;
865 period = findPitchPeriod(inputBuffer, position, true);
867 newSamples = skipPitchPeriod(inputBuffer, position, speed, period);
868 position += period + newSamples;
870 newSamples = insertPitchPeriod(inputBuffer, position, speed, period);
871 position += newSamples;
874 } while(position + maxRequired <= numSamples);
875 removeInputSamples(position);