Lines Matching refs:resampler
345 AudioResampler* resampler = AudioResampler::create(format, channels, in main() local
351 resampler->setSampleRate(9000); in main()
352 resampler->setSampleRate(12000); in main()
353 resampler->setSampleRate(20000); in main()
354 resampler->setSampleRate(30000); in main()
366 resampler->setSampleRate(1000); in main()
370 resampler->setSampleRate(1000+i); in main()
378 resampler->reset(); in main()
379 delete resampler; in main()
383 AudioResampler* resampler = AudioResampler::create(format, channels, in main() local
386 resampler->setSampleRate(input_freq); in main()
387 resampler->setVolume(AudioResampler::UNITY_GAIN_FLOAT, AudioResampler::UNITY_GAIN_FLOAT); in main()
415 resampler->resample((int*) output_vaddr, output_frames, &provider); in main()
429 resampler->reset(); in main()
447 resampler->resample((int*) output_vaddr + output_channels*i, thisFrames, &provider); in main()
453 resampler->reset(); in main()
457 delete resampler; in main()
458 resampler = NULL; in main()