Searched refs:inSampleRate (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/media/libaudioprocessing/ |
D | AudioResamplerDyn.cpp | 168 int L, int halfNumCoefs, int inSampleRate, int outSampleRate) in set() argument 171 int lscale = inSampleRate/outSampleRate < 2 ? L - 1 : in set() 172 static_cast<int>(static_cast<uint64_t>(L)*inSampleRate/outSampleRate); in set() 243 double stopBandAtten, int inSampleRate, int outSampleRate, double tbwCheat) in createKaiserFir() argument 250 if (inSampleRate < outSampleRate) { // upsample in createKaiserFir() 253 fcr = max(0.5 * tbwCheat * outSampleRate / inSampleRate - halfbw, halfbw); in createKaiserFir() 345 void AudioResamplerDyn<TC, TI, TO>::setSampleRate(int32_t inSampleRate) in setSampleRate() argument 347 if (mInSampleRate == inSampleRate) { in setSampleRate() 354 mInSampleRate = inSampleRate; in setSampleRate() 359 !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/media/libaudioprocessing/include/media/ |
D | AudioResampler.h | 60 virtual void setSampleRate(int32_t inSampleRate);
|