Searched refs:oldRatePosition (Results 1 – 2 of 2) sorted by relevance
26 private int oldRatePosition; field in Sonic133 this.oldRatePosition = 0; in setRate()193 oldRatePosition = 0; in allocateStreamBuffers()208 oldRatePosition = 0; in Sonic()753 int leftPosition = oldRatePosition*newSampleRate; in interpolate()754 int rightPosition = (oldRatePosition + 1)*newSampleRate; in interpolate()781 while((oldRatePosition + 1)*newSampleRate > newRatePosition*oldSampleRate) { in adjustRate()790 oldRatePosition++; in adjustRate()791 if(oldRatePosition == oldSampleRate) { in adjustRate()792 oldRatePosition = 0; in adjustRate()
30 int oldRatePosition; member131 stream->oldRatePosition = 0; in sonicSetRate()241 stream->oldRatePosition = 0; in allocateStreamBuffers()268 stream->oldRatePosition = 0; in sonicCreateStream()891 int leftPosition = stream->oldRatePosition*newSampleRate; in interpolate()892 int rightPosition = (stream->oldRatePosition + 1)*newSampleRate; in interpolate()925 while((stream->oldRatePosition + 1)*newSampleRate > in adjustRate()939 stream->oldRatePosition++; in adjustRate()940 if(stream->oldRatePosition == oldSampleRate) { in adjustRate()941 stream->oldRatePosition = 0; in adjustRate()