Searched refs:oldSampleRate (Results 1 – 2 of 2) sorted by relevance
747 int oldSampleRate, in interpolate() argument752 int position = newRatePosition*oldSampleRate; in interpolate()767 int oldSampleRate = sampleRate; in adjustRate() local771 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()
885 int oldSampleRate, in interpolate() argument890 int position = stream->newRatePosition*oldSampleRate; in interpolate()906 int oldSampleRate = stream->sampleRate; in adjustRate() local913 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()