Lines Matching refs:inSampleRate
153 int L, int halfNumCoefs, int inSampleRate, int outSampleRate) in set() argument
156 int lscale = inSampleRate/outSampleRate < 2 ? L - 1 : in set()
157 static_cast<int>(static_cast<uint64_t>(L)*inSampleRate/outSampleRate); in set()
214 double stopBandAtten, int inSampleRate, int outSampleRate, double tbwCheat) in createKaiserFir() argument
222 if (inSampleRate < outSampleRate) { // upsample in createKaiserFir()
225 fcr = max(0.5*tbwCheat*outSampleRate/inSampleRate - tbw/2, tbw/2); in createKaiserFir()
279 void AudioResamplerDyn<TC, TI, TO>::setSampleRate(int32_t inSampleRate) in setSampleRate() argument
281 if (mInSampleRate == inSampleRate) { in setSampleRate()
288 mInSampleRate = inSampleRate; in setSampleRate()
293 !isClose(inSampleRate, oldSampleRate, mFilterSampleRate, mSampleRate)) { in setSampleRate()
294 mFilterSampleRate = inSampleRate; in setSampleRate()
313 if (inSampleRate >= mSampleRate * 4) { in setSampleRate()
315 } else if (inSampleRate >= mSampleRate * 2) { in setSampleRate()
324 if (inSampleRate >= mSampleRate * 4) { in setSampleRate()
326 } else if (inSampleRate >= mSampleRate * 2) { in setSampleRate()
331 if (inSampleRate <= mSampleRate) { in setSampleRate()
341 if (inSampleRate >= mSampleRate * 4) { in setSampleRate()
343 } else if (inSampleRate >= mSampleRate * 2) { in setSampleRate()
348 if (inSampleRate <= mSampleRate) { in setSampleRate()
361 int phases = mSampleRate / gcd(mSampleRate, inSampleRate); in setSampleRate()
382 mConstants.set(phases, halfLength, inSampleRate, mSampleRate); in setSampleRate()
384 inSampleRate, mSampleRate, tbwCheat); in setSampleRate()
396 * inSampleRate / mSampleRate); in setSampleRate()