Searched refs:inSampleRate (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/media/libaudioprocessing/ |
D | AudioResamplerDyn.cpp | 169 int L, int halfNumCoefs, int inSampleRate, int outSampleRate) in set() argument 172 int lscale = inSampleRate/outSampleRate < 2 ? L - 1 : in set() 173 static_cast<int>(static_cast<uint64_t>(L)*inSampleRate/outSampleRate); in set() 244 double stopBandAtten, int inSampleRate, int outSampleRate, double tbwCheat) in createKaiserFir() argument 251 if (inSampleRate < outSampleRate) { // upsample in createKaiserFir() 254 fcr = max(0.5 * tbwCheat * outSampleRate / inSampleRate - halfbw, halfbw); in createKaiserFir() 346 void AudioResamplerDyn<TC, TI, TO>::setSampleRate(int32_t inSampleRate) in setSampleRate() argument 348 if (mInSampleRate == inSampleRate) { in setSampleRate() 355 mInSampleRate = inSampleRate; in setSampleRate() 360 !isClose(inSampleRate, oldSampleRate, mFilterSampleRate, mSampleRate)) { in setSampleRate() [all …]
|
D | AudioResamplerDyn.h | 51 virtual void setSampleRate(int32_t inSampleRate); 104 int inSampleRate, int outSampleRate); 151 int inSampleRate, int outSampleRate, double tbwCheat);
|
D | AudioResampler.cpp | 298 void AudioResampler::setSampleRate(int32_t inSampleRate) { in setSampleRate() argument 299 mInSampleRate = inSampleRate; in setSampleRate() 300 mPhaseIncrement = (uint32_t)((kPhaseMultiplier * inSampleRate) / mSampleRate); in setSampleRate()
|
/frameworks/av/media/libaudioprocessing/tests/ |
D | resampler_tests.cpp | 567 for (int inSampleRate : inSampleRates) { in TEST() local 568 testFilterResponse(2 /* channels */, inSampleRate, outSampleRate, quality); in TEST() 599 for (int inSampleRate : inSampleRates) { in TEST() local 600 testFilterResponse(2 /* channels */, inSampleRate, outSampleRate); in TEST()
|
/frameworks/av/include/media/ |
D | AudioResampler.h | 60 virtual void setSampleRate(int32_t inSampleRate);
|
/frameworks/av/media/libaudioprocessing/include/media/ |
D | AudioResampler.h | 60 virtual void setSampleRate(int32_t inSampleRate);
|