Home
last modified time | relevance | path

Searched refs:newRatePosition (Results 1 – 2 of 2) sorted by relevance

/external/sonic/
DSonic.java27 private int newRatePosition; field in Sonic
134 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()
Dsonic.c31 int newRatePosition; member
132 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()