Lines Matching defs:resampler
102 if (property_get("af.resampler.quality", value, NULL) > 0) {
140 // read the resampler default quality property the first time it is needed
151 // naive implementation of CPU load throttling doesn't account for whether resampler is active
157 ALOGV("resampler load %u -> %u MHz due to delta +%u MHz from quality %d",
182 AudioResampler* resampler;
188 ALOGV("Create linear Resampler");
189 resampler = new AudioResamplerOrder1(bitDepth, inChannelCount, sampleRate);
192 ALOGV("Create cubic Resampler");
193 resampler = new AudioResamplerCubic(bitDepth, inChannelCount, sampleRate);
196 ALOGV("Create HIGH_QUALITY sinc Resampler");
197 resampler = new AudioResamplerSinc(bitDepth, inChannelCount, sampleRate);
200 ALOGV("Create VERY_HIGH_QUALITY sinc Resampler = %d", quality);
201 resampler = new AudioResamplerSinc(bitDepth, inChannelCount, sampleRate, quality);
205 // initialize resampler
206 resampler->init();
207 return resampler;
237 ALOGV("resampler load %u -> %d MHz due to delta -%u MHz from quality %d",
239 LOG_ALWAYS_FATAL_IF(newMHz < 0, "negative resampler load %d MHz", newMHz);
286 // select the appropriate resampler