Home
last modified time | relevance | path

Searched refs:outSampleRate (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/media/libstagefright/
DAudioSource.cpp46 uint32_t sampleRate, uint32_t channelCount, uint32_t outSampleRate, in AudioSource() argument
51 set(attr, attributionSource, sampleRate, channelCount, outSampleRate, selectedDeviceId, in AudioSource()
57 uint32_t sampleRate, uint32_t channelCount, uint32_t outSampleRate, in AudioSource() argument
68 set(attr, attributionSource, sampleRate, channelCount, outSampleRate, selectedDeviceId, in AudioSource()
74 uint32_t sampleRate, uint32_t channelCount, uint32_t outSampleRate, in set() argument
81 mOutSampleRate = outSampleRate > 0 ? outSampleRate : sampleRate; in set()
95 sampleRate, outSampleRate, channelCount); in set()
/frameworks/av/media/libaudioprocessing/
DAudioResamplerDyn.cpp168 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()
326 int32_t filterSampleRate, int32_t outSampleRate) in isClose() argument
331 && filterSampleRate < outSampleRate in isClose()
332 && newSampleRate < outSampleRate) in isClose()
DAudioResamplerDyn.h104 int inSampleRate, int outSampleRate);
151 int inSampleRate, int outSampleRate, double tbwCheat);
/frameworks/av/media/libstagefright/include/media/stagefright/
DAudioSource.h47 uint32_t outSampleRate = 0,
58 uint32_t outSampleRate = 0,
157 uint32_t outSampleRate = 0,
/frameworks/av/media/libaudioprocessing/tests/
Dresampler_tests.cpp566 for (int outSampleRate : outSampleRates) { in TEST() local
568 testFilterResponse(2 /* channels */, inSampleRate, outSampleRate, quality); in TEST()
598 for (int outSampleRate : outSampleRates) { in TEST() local
600 testFilterResponse(2 /* channels */, inSampleRate, outSampleRate); in TEST()