Searched refs:resampler (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/services/audioflinger/ |
D | test-resample.cpp | 213 AudioResampler* resampler = AudioResampler::create(16, channels, in main() local 217 resampler->setSampleRate(input_freq); in main() 218 resampler->setVolume(0x1000, 0x1000); in main() 223 resampler->resample((int*) output_vaddr, out_frames, &provider); in main() 224 resampler->resample((int*) output_vaddr, out_frames, &provider); in main() 225 resampler->resample((int*) output_vaddr, out_frames, &provider); in main() 226 resampler->resample((int*) output_vaddr, out_frames, &provider); in main() 233 delete resampler; in main() 236 AudioResampler* resampler = AudioResampler::create(16, channels, in main() local 239 resampler->setSampleRate(input_freq); in main() [all …]
|
D | AudioMixer.h | 193 AudioResampler* resampler; member 209 bool doesResample() const { return resampler != NULL; } in doesResample() 210 void resetResampler() { if (resampler != NULL) resampler->reset(); } in resetResampler() 212 size_t getUnreleasedFrames() const { return resampler != NULL ? in getUnreleasedFrames() 213 resampler->getUnreleasedFrames() : 0; }; in getUnreleasedFrames()
|
D | AudioResampler.cpp | 182 AudioResampler* resampler; in create() local 189 resampler = new AudioResamplerOrder1(bitDepth, inChannelCount, sampleRate); in create() 193 resampler = new AudioResamplerCubic(bitDepth, inChannelCount, sampleRate); in create() 197 resampler = new AudioResamplerSinc(bitDepth, inChannelCount, sampleRate); in create() 201 resampler = new AudioResamplerSinc(bitDepth, inChannelCount, sampleRate, quality); in create() 206 resampler->init(); in create() 207 return resampler; in create()
|
D | AudioMixer.cpp | 134 t->resampler = NULL; in AudioMixer() 166 delete t->resampler; in ~AudioMixer() 213 t->resampler = NULL; in getTrackName() 384 delete track.resampler; in deleteTrackName() 385 track.resampler = NULL; in deleteTrackName() 485 delete track.resampler; in setParameter() 486 track.resampler = NULL; in setParameter() 550 if (value != devSampleRate || resampler != NULL) { in setResampler() 553 if (resampler == NULL) { in setResampler() 566 resampler = AudioResampler::create( in setResampler() [all …]
|
/frameworks/av/services/audioflinger/audio-resampler/ |
D | Android.mk | 8 LOCAL_MODULE := libaudio-resampler
|