Lines Matching refs:resampler
58 android::AudioBufferProvider *provider, android::AudioResampler *resampler) in resample() argument
68 size_t framesResampled = resampler->resample( in resample()
113 android::AudioResampler* resampler; in testBufferIncrement() local
115 resampler = android::AudioResampler::create(format, channels, outputFreq, quality); in testBufferIncrement()
116 resampler->setSampleRate(inputFreq); in testBufferIncrement()
117 resampler->setVolume(android::AudioResampler::UNITY_GAIN_FLOAT, in testBufferIncrement()
124 resample(channels, reference, outputFrames, refIncr, &provider, resampler); in testBufferIncrement()
130 resampler->reset(); in testBufferIncrement()
132 delete resampler; in testBufferIncrement()
133 resampler = android::AudioResampler::create(format, channels, outputFreq, quality); in testBufferIncrement()
134 resampler->setSampleRate(inputFreq); in testBufferIncrement()
135 resampler->setVolume(android::AudioResampler::UNITY_GAIN_FLOAT, in testBufferIncrement()
148 resample(channels, test, outputFrames, outIncr, &provider, resampler); in testBufferIncrement()
155 delete resampler; in testBufferIncrement()
199 android::AudioResampler* resampler; in testStopbandDownconversion() local
201 resampler = android::AudioResampler::create( in testStopbandDownconversion()
204 resampler->setSampleRate(inputFreq); in testStopbandDownconversion()
205 resampler->setVolume(android::AudioResampler::UNITY_GAIN_FLOAT, in testStopbandDownconversion()
212 resample(channels, reference, outputFrames, refIncr, &provider, resampler); in testStopbandDownconversion()
245 delete resampler; in testStopbandDownconversion()