Searched refs:resampler (Results 1 – 8 of 8) sorted by relevance
/frameworks/av/services/audioflinger/ |
D | test-resample.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 | AudioResampler.cpp | 212 AudioResampler* resampler; in create() local 219 resampler = new AudioResamplerOrder1(inChannelCount, sampleRate); in create() 224 resampler = new AudioResamplerCubic(inChannelCount, sampleRate); in create() 229 resampler = new AudioResamplerSinc(inChannelCount, sampleRate); in create() 234 resampler = new AudioResamplerSinc(inChannelCount, sampleRate, quality); in create() 241 resampler = new AudioResamplerDyn<float, float, float>(inChannelCount, in create() 246 resampler = new AudioResamplerDyn<int32_t, int16_t, int32_t>(inChannelCount, in create() 249 resampler = new AudioResamplerDyn<int16_t, int16_t, int32_t>(inChannelCount, in create() 257 resampler->init(); in create() 258 return resampler; in create()
|
D | AudioMixer.h | 213 AudioResampler* resampler; member 267 bool doesResample() const { return resampler != NULL; } in doesResample() 268 void resetResampler() { if (resampler != NULL) resampler->reset(); } in resetResampler() 270 size_t getUnreleasedFrames() const { return resampler != NULL ? in getUnreleasedFrames() 271 resampler->getUnreleasedFrames() : 0; }; in getUnreleasedFrames()
|
D | AudioMixer.cpp | 127 t->resampler = NULL; in AudioMixer() 140 delete t->resampler; in ~AudioMixer() 213 t->resampler = NULL; in getTrackName() 291 if (track.resampler && mixerChannelCountChanged) { in setChannelMasks() 294 delete track.resampler; in setChannelMasks() 295 track.resampler = NULL; in setChannelMasks() 441 delete track.resampler; in deleteTrackName() 442 track.resampler = NULL; in deleteTrackName() 688 delete track.resampler; in setParameter() 689 track.resampler = NULL; in setParameter() [all …]
|
/frameworks/av/services/audioflinger/tests/ |
D | resampler_tests.cpp | 41 android::AudioBufferProvider *provider, android::AudioResampler *resampler) in resample() argument 51 size_t framesResampled = resampler->resample( in resample() 96 android::AudioResampler* resampler; in testBufferIncrement() local 98 resampler = android::AudioResampler::create(format, channels, outputFreq, quality); in testBufferIncrement() 99 resampler->setSampleRate(inputFreq); in testBufferIncrement() 100 resampler->setVolume(android::AudioResampler::UNITY_GAIN_FLOAT, in testBufferIncrement() 107 resample(channels, reference, outputFrames, refIncr, &provider, resampler); in testBufferIncrement() 113 resampler->reset(); in testBufferIncrement() 115 delete resampler; in testBufferIncrement() 116 resampler = android::AudioResampler::create(format, channels, outputFreq, quality); in testBufferIncrement() [all …]
|
D | README | 6 To build resampler library:
|
/frameworks/av/services/audioflinger/audio-resampler/ |
D | Android.mk | 8 LOCAL_MODULE := libaudio-resampler
|
/frameworks/base/docs/html/ndk/guides/audio/ |
D | sample-rates.jd | 40 the resampler for 44.1 to 48 kHz and vice versa is generated at a higher 54 48 kHz will typically result in decreased quality because a resampler must be 59 <p>The resampler operates in one of the following modes:</p> 65 <p>The resampler is fastest in fixed polyphase mode, when the ratio of input 112 there is an implicit delay from the filter length of the resampler,
|