Searched defs:resampler (Results 1 - 2 of 2) sorted by relevance
/frameworks/av/services/audioflinger/ |
H A D | AudioResampler.cpp | 104 if (property_get("af.resampler.quality", value, NULL) > 0) { 142 // read the resampler default quality property the first time it is needed 153 // naive implementation of CPU load throttling doesn't account for whether resampler is active 159 ALOGV("resampler load %u -> %u MHz due to delta +%u MHz from quality %d", 184 AudioResampler* resampler; local 191 resampler = new AudioResamplerOrder1(bitDepth, inChannelCount, sampleRate); 196 resampler = new AudioResamplerCubic(bitDepth, inChannelCount, sampleRate); 201 resampler = new AudioResamplerSinc(bitDepth, inChannelCount, sampleRate); 205 resampler = new AudioResamplerSinc(bitDepth, inChannelCount, sampleRate, quality); 209 // initialize resampler [all...] |
H A D | AudioMixer.h | 81 // This clears out the resampler's input buffer. 184 AudioResampler* resampler; member in struct:android::AudioMixer::track_t 200 bool doesResample() const { return resampler != NULL; } 201 void resetResampler() { if (resampler != NULL) resampler->reset(); } 203 size_t getUnreleasedFrames() const { return resampler != NULL ? 204 resampler->getUnreleasedFrames() : 0; };
|
Completed in 39 milliseconds