Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/
Dtest-resample.cpp333 int output_channels = channels > 2 ? channels : 2; // output is at least stereo samples in main() local
334 size_t output_framesize = output_channels * (useFloat ? sizeof(float) : sizeof(int32_t)); in main()
455 resampler->resample((int*) output_vaddr + output_channels*i, thisFrames, &provider); in main()
472 reinterpret_cast<float*>(output_vaddr), output_frames * output_channels); in main()
486 int32_t s = out[i * output_channels + j] + roundVal; // add offset here in main()