Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/examples/loopback/src/
Dloopback.cpp56 void record(int16_t *inputData, int inputChannelCount, int numFrames) { in record() argument
62 mData[mFrameCounter++] = inputData[i * inputChannelCount] * (1.0f / 32768); in record()
66 void record(float *inputData, int inputChannelCount, int numFrames) { in record() argument
72 mData[mFrameCounter++] = inputData[i * inputChannelCount]; in record()
122 void process(float *inputData, int inputChannelCount, in process() argument
129 float sample = inputData[i * inputChannelCount]; in process()
160 float sample = inputData[i * inputChannelCount]; in process()
177 void echo(float *inputData, int inputChannelCount, in echo() argument
180 int channelsValid = (inputChannelCount < outputChannelCount) in echo()
181 ? inputChannelCount : outputChannelCount; in echo()
[all …]