Lines Matching refs:pitchBuffer
24 short *pitchBuffer; member
190 if(stream->pitchBuffer != NULL) { in freeStreamBuffers()
191 free(stream->pitchBuffer); in freeStreamBuffers()
229 stream->pitchBuffer = (short *)calloc(maxRequired, sizeof(short)*numChannels); in allocateStreamBuffers()
230 if(stream->pitchBuffer == NULL) { in allocateStreamBuffers()
807 stream->pitchBuffer = (short *)realloc(stream->pitchBuffer, in moveNewSamplesToPitchBuffer()
809 if(stream->pitchBuffer == NULL) { in moveNewSamplesToPitchBuffer()
813 memcpy(stream->pitchBuffer + stream->numPitchSamples*numChannels, in moveNewSamplesToPitchBuffer()
827 short *source = stream->pitchBuffer + numSamples*numChannels; in removePitchSamples()
833 memmove(stream->pitchBuffer, source, (stream->numPitchSamples - in removePitchSamples()
858 period = findPitchPeriod(stream, stream->pitchBuffer + position*numChannels, 0); in adjustPitch()
865 rampDown = stream->pitchBuffer + position*numChannels; in adjustPitch()
866 rampUp = stream->pitchBuffer + (position + period - newPeriod)*numChannels; in adjustPitch()
869 rampDown = stream->pitchBuffer + position*numChannels; in adjustPitch()
870 rampUp = stream->pitchBuffer + position*numChannels; in adjustPitch()
931 in = stream->pitchBuffer + position; in adjustRate()