Lines Matching refs:resampler

41         android::AudioBufferProvider *provider, android::AudioResampler *resampler)  in resample()  argument
51 resampler->resample((int32_t*) output + channels*i, thisFrames, provider); in resample()
93 android::AudioResampler* resampler; in testBufferIncrement() local
95 resampler = android::AudioResampler::create(format, channels, outputFreq, quality); in testBufferIncrement()
96 resampler->setSampleRate(inputFreq); in testBufferIncrement()
97 resampler->setVolume(android::AudioResampler::UNITY_GAIN_FLOAT, in testBufferIncrement()
104 resample(channels, reference, outputFrames, refIncr, &provider, resampler); in testBufferIncrement()
110 resampler->reset(); in testBufferIncrement()
112 delete resampler; in testBufferIncrement()
113 resampler = android::AudioResampler::create(format, channels, outputFreq, quality); in testBufferIncrement()
114 resampler->setSampleRate(inputFreq); in testBufferIncrement()
115 resampler->setVolume(android::AudioResampler::UNITY_GAIN_FLOAT, in testBufferIncrement()
128 resample(channels, test, outputFrames, outIncr, &provider, resampler); in testBufferIncrement()
135 delete resampler; in testBufferIncrement()
179 android::AudioResampler* resampler; in testStopbandDownconversion() local
181 resampler = android::AudioResampler::create( in testStopbandDownconversion()
184 resampler->setSampleRate(inputFreq); in testStopbandDownconversion()
185 resampler->setVolume(android::AudioResampler::UNITY_GAIN_FLOAT, in testStopbandDownconversion()
192 resample(channels, reference, outputFrames, refIncr, &provider, resampler); in testStopbandDownconversion()
223 delete resampler; in testStopbandDownconversion()