Home | History | Annotate | Download | only in audioflinger

Lines Matching defs:resampler

108     if (property_get("af.resampler.quality", value, NULL) > 0) {
152 // read the resampler default quality property the first time it is needed
163 /* if the caller requests DEFAULT_QUALITY and af.resampler.property
164 * has not been set, the target resampler quality is set to DYN_MED_QUALITY,
173 // naive implementation of CPU load throttling doesn't account for whether resampler is active
179 ALOGV("resampler load %u -> %u MHz due to delta +%u MHz from quality %d",
212 AudioResampler* resampler;
217 ALOGV("Create linear Resampler");
219 resampler = new AudioResamplerOrder1(inChannelCount, sampleRate);
222 ALOGV("Create cubic Resampler");
224 resampler = new AudioResamplerCubic(inChannelCount, sampleRate);
227 ALOGV("Create HIGH_QUALITY sinc Resampler");
229 resampler = new AudioResamplerSinc(inChannelCount, sampleRate);
232 ALOGV("Create VERY_HIGH_QUALITY sinc Resampler = %d", quality);
234 resampler = new AudioResamplerSinc(inChannelCount, sampleRate, quality);
239 ALOGV("Create dynamic Resampler = %d", quality);
241 resampler = new AudioResamplerDyn<float, float, float>(inChannelCount,
246 resampler = new AudioResamplerDyn<int32_t, int16_t, int32_t>(inChannelCount,
249 resampler = new AudioResamplerDyn<int16_t, int16_t, int32_t>(inChannelCount,
256 // initialize resampler
257 resampler->init();
258 return resampler;
288 ALOGV("resampler load %u -> %d MHz due to delta -%u MHz from quality %d",
290 LOG_ALWAYS_FATAL_IF(newMHz < 0, "negative resampler load %d MHz", newMHz);
322 // select the appropriate resampler