Home
last modified time | relevance | path

Searched refs:inSampleRate (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/services/audioflinger/
DAudioResamplerDyn.cpp153 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()
[all …]
DAudioResamplerDyn.h51 virtual void setSampleRate(int32_t inSampleRate);
66 int inSampleRate, int outSampleRate);
111 int inSampleRate, int outSampleRate, double tbwCheat);
DAudioResampler.h60 virtual void setSampleRate(int32_t inSampleRate);
DAudioResampler.cpp295 void AudioResampler::setSampleRate(int32_t inSampleRate) { in setSampleRate() argument
296 mInSampleRate = inSampleRate; in setSampleRate()
297 mPhaseIncrement = (uint32_t)((kPhaseMultiplier * inSampleRate) / mSampleRate); in setSampleRate()