Searched refs:resampler (Results 1 - 4 of 4) sorted by relevance

/frameworks/av/services/audioflinger/audio-resampler/
H A DAndroid.mk8 LOCAL_MODULE := libaudio-resampler
/frameworks/av/services/audioflinger/
H A DAudioMixer.h81 // 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; };
H A DAudioResampler.cpp104 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 DAudioMixer.cpp126 t->resampler = NULL;
158 delete t->resampler;
201 t->resampler = NULL;
371 // delete the resampler
372 delete track.resampler;
373 track.resampler = NULL;
473 delete track.resampler;
474 track.resampler = NULL;
538 if (value != devSampleRate || resampler != NULL) {
541 if (resampler
[all...]

Completed in 37 milliseconds