Home
last modified time | relevance | path

Searched refs:input_freq (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libaudioprocessing/tests/fuzzer/
Dlibaudioprocessing_resampler_fuzzer.cpp81 int input_freq = 0; in LLVMFuzzerTestOneInput() local
99 index += parseValue(data, index, &input_freq, sizeof(int)); in LLVMFuzzerTestOneInput()
106 if (!validFreq(input_freq) || !validFreq(output_freq)) { in LLVMFuzzerTestOneInput()
134 resampler->setSampleRate(input_freq); in LLVMFuzzerTestOneInput()
140 size_t output_frames = (input_frames * output_freq) / input_freq; in LLVMFuzzerTestOneInput()
/frameworks/av/media/libaudioprocessing/tests/
Dtest-resampler.cpp112 int input_freq = 0; in main() local
159 input_freq = atoi(optarg); in main()
225 input_freq = info.samplerate; in main()
230 double time = (input_freq / 2) / k; in main()
231 size_t input_frames = size_t(input_freq * time); in main()
236 double t = double(i) / input_freq; in main()
335 size_t output_frames = ((int64_t) input_frames * output_freq) / input_freq; in main()
386 resampler->setSampleRate(input_freq); in main()
436 resampler->setSampleRate(input_freq); in main()