Searched refs:newPeriod (Results 1 – 2 of 2) sorted by relevance
/external/sonic/ |
D | Sonic.java | 718 int period, newPeriod, separation; in adjustPitch() local 727 newPeriod = (int)(period/pitch); in adjustPitch() 728 enlargeOutputBufferIfNeeded(newPeriod); in adjustPitch() 730 overlapAdd(newPeriod, numChannels, outputBuffer, numOutputSamples, pitchBuffer, in adjustPitch() 731 position, pitchBuffer, position + period - newPeriod); in adjustPitch() 733 separation = newPeriod - period; in adjustPitch() 737 numOutputSamples += newPeriod; in adjustPitch()
|
D | sonic.c | 847 int period, newPeriod, separation; in adjustPitch() local 859 newPeriod = period/pitch; in adjustPitch() 860 if(!enlargeOutputBufferIfNeeded(stream, newPeriod)) { in adjustPitch() 866 rampUp = stream->pitchBuffer + (position + period - newPeriod)*numChannels; in adjustPitch() 867 overlapAdd(newPeriod, numChannels, out, rampDown, rampUp); in adjustPitch() 871 separation = newPeriod - period; in adjustPitch() 874 stream->numOutputSamples += newPeriod; in adjustPitch()
|