Lines Matching refs:resampler
344 AudioResampler* resampler = AudioResampler::create(format, channels, in main() local
350 resampler->setSampleRate(9000); in main()
351 resampler->setSampleRate(12000); in main()
352 resampler->setSampleRate(20000); in main()
353 resampler->setSampleRate(30000); in main()
365 resampler->setSampleRate(1000); in main()
369 resampler->setSampleRate(1000+i); in main()
377 resampler->reset(); in main()
378 delete resampler; in main()
382 AudioResampler* resampler = AudioResampler::create(format, channels, in main() local
385 resampler->setSampleRate(input_freq); in main()
386 resampler->setVolume(AudioResampler::UNITY_GAIN_FLOAT, AudioResampler::UNITY_GAIN_FLOAT); in main()
414 resampler->resample((int*) output_vaddr, output_frames, &provider); in main()
428 resampler->reset(); in main()
432 delete resampler; in main()
433 resampler = AudioResampler::create(format, channels, in main()
435 resampler->setSampleRate(input_freq); in main()
436 resampler->setVolume(AudioResampler::UNITY_GAIN_FLOAT, AudioResampler::UNITY_GAIN_FLOAT); in main()
454 resampler->resample((int*) output_vaddr + output_channels*i, thisFrames, &provider); in main()
460 resampler->reset(); in main()
464 delete resampler; in main()
465 resampler = NULL; in main()