Home
last modified time | relevance | path

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

/external/sonic/
DSonic.java747 int oldSampleRate, in interpolate() argument
752 int position = newRatePosition*oldSampleRate; in interpolate()
767 int oldSampleRate = sampleRate; in adjustRate() local
771 while(newSampleRate > (1 << 14) || oldSampleRate > (1 << 14)) { in adjustRate()
773 oldSampleRate >>= 1; in adjustRate()
781 while((oldRatePosition + 1)*newSampleRate > newRatePosition*oldSampleRate) { in adjustRate()
785 oldSampleRate, newSampleRate); in adjustRate()
791 if(oldRatePosition == oldSampleRate) { in adjustRate()
Dsonic.c885 int oldSampleRate, in interpolate() argument
890 int position = stream->newRatePosition*oldSampleRate; in interpolate()
906 int oldSampleRate = stream->sampleRate; in adjustRate() local
913 while(newSampleRate > (1 << 14) || oldSampleRate > (1 << 14)) { in adjustRate()
915 oldSampleRate >>= 1; in adjustRate()
926 stream->newRatePosition*oldSampleRate) { in adjustRate()
933 *out++ = interpolate(stream, in, oldSampleRate, newSampleRate); in adjustRate()
940 if(stream->oldRatePosition == oldSampleRate) { in adjustRate()