Home
last modified time | relevance | path

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

/frameworks/av/media/libaudioprocessing/tests/
Dtest-resampler.cpp331 int output_channels = channels > 2 ? channels : 2; // output is at least stereo samples in main() local
332 size_t output_framesize = output_channels * (useFloat ? sizeof(float) : sizeof(int32_t)); in main()
453 resampler->resample((int*) output_vaddr + output_channels*i, thisFrames, &provider); in main()
470 reinterpret_cast<float*>(output_vaddr), output_frames * output_channels); in main()
484 int32_t s = out[i * output_channels + j] + roundVal; // add offset here in main()