Searched refs:newRatePosition (Results 1 – 2 of 2) sorted by relevance
27 private int newRatePosition; field in Sonic134 this.newRatePosition = 0; in setRate()194 newRatePosition = 0; in allocateStreamBuffers()209 newRatePosition = 0; in Sonic()752 int position = newRatePosition*oldSampleRate; in interpolate()781 while((oldRatePosition + 1)*newSampleRate > newRatePosition*oldSampleRate) { in adjustRate()787 newRatePosition++; in adjustRate()793 if(newRatePosition != newSampleRate) { in adjustRate()797 newRatePosition = 0; in adjustRate()
31 int newRatePosition; member132 stream->newRatePosition = 0; in sonicSetRate()242 stream->newRatePosition = 0; in allocateStreamBuffers()269 stream->newRatePosition = 0; in sonicCreateStream()890 int position = stream->newRatePosition*oldSampleRate; in interpolate()926 stream->newRatePosition*oldSampleRate) { in adjustRate()936 stream->newRatePosition++; in adjustRate()942 if(stream->newRatePosition != newSampleRate) { in adjustRate()947 stream->newRatePosition = 0; in adjustRate()