Searched refs:resampler (Results 1 – 8 of 8) sorted by relevance
/frameworks/av/media/libaudioprocessing/tests/ |
D | test-resampler.cpp | 343 AudioResampler* resampler = AudioResampler::create(format, channels, in main() local 349 resampler->setSampleRate(9000); in main() 350 resampler->setSampleRate(12000); in main() 351 resampler->setSampleRate(20000); in main() 352 resampler->setSampleRate(30000); in main() 364 resampler->setSampleRate(1000); in main() 368 resampler->setSampleRate(1000+i); in main() 376 resampler->reset(); in main() 377 delete resampler; in main() 381 AudioResampler* resampler = AudioResampler::create(format, channels, in main() local [all …]
|
D | resampler_tests.cpp | 55 android::AudioBufferProvider *provider, android::AudioResampler *resampler) in resample() argument 65 size_t framesResampled = resampler->resample( in resample() 110 android::AudioResampler* resampler; in testBufferIncrement() local 112 resampler = android::AudioResampler::create(format, channels, outputFreq, quality); in testBufferIncrement() 113 resampler->setSampleRate(inputFreq); in testBufferIncrement() 114 resampler->setVolume(android::AudioResampler::UNITY_GAIN_FLOAT, in testBufferIncrement() 121 resample(channels, reference, outputFrames, refIncr, &provider, resampler); in testBufferIncrement() 127 resampler->reset(); in testBufferIncrement() 129 delete resampler; in testBufferIncrement() 130 resampler = android::AudioResampler::create(format, channels, outputFreq, quality); in testBufferIncrement() [all …]
|
D | Android.mk | 66 test-resampler.cpp \ 81 LOCAL_MODULE := test-resampler
|
/frameworks/av/media/libaudioprocessing/ |
D | AudioResampler.cpp | 215 AudioResampler* resampler; in create() local 222 resampler = new AudioResamplerOrder1(inChannelCount, sampleRate); in create() 227 resampler = new AudioResamplerCubic(inChannelCount, sampleRate); in create() 232 resampler = new AudioResamplerSinc(inChannelCount, sampleRate); in create() 237 resampler = new AudioResamplerSinc(inChannelCount, sampleRate, quality); in create() 244 resampler = new AudioResamplerDyn<float, float, float>(inChannelCount, in create() 249 resampler = new AudioResamplerDyn<int32_t, int16_t, int32_t>(inChannelCount, in create() 252 resampler = new AudioResamplerDyn<int16_t, int16_t, int32_t>(inChannelCount, in create() 260 resampler->init(); in create() 261 return resampler; in create()
|
D | AudioMixer.cpp | 126 t->resampler = NULL; in AudioMixer() 139 delete t->resampler; in ~AudioMixer() 212 t->resampler = NULL; in getTrackName() 290 if (track.resampler && mixerChannelCountChanged) { in setChannelMasks() 293 delete track.resampler; in setChannelMasks() 294 track.resampler = NULL; in setChannelMasks() 446 delete track.resampler; in deleteTrackName() 447 track.resampler = NULL; in deleteTrackName() 693 delete track.resampler; in setParameter() 694 track.resampler = NULL; in setParameter() [all …]
|
/frameworks/av/include/media/ |
D | AudioMixer.h | 211 AudioResampler* resampler; member 265 bool doesResample() const { return resampler != NULL; } in doesResample() 266 void resetResampler() { if (resampler != NULL) resampler->reset(); } in resetResampler() 268 size_t getUnreleasedFrames() const { return resampler != NULL ? in getUnreleasedFrames() 269 resampler->getUnreleasedFrames() : 0; }; in getUnreleasedFrames()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioMixer.h | 211 AudioResampler* resampler; member 265 bool doesResample() const { return resampler != NULL; } in doesResample() 266 void resetResampler() { if (resampler != NULL) resampler->reset(); } in resetResampler() 268 size_t getUnreleasedFrames() const { return resampler != NULL ? in getUnreleasedFrames() 269 resampler->getUnreleasedFrames() : 0; }; in getUnreleasedFrames()
|
/frameworks/av/media/libaudioprocessing/audio-resampler/ |
D | Android.mk | 8 LOCAL_MODULE := libaudio-resampler
|