Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/examples/loopback/src/
DLoopbackAnalyzer.h313 int32_t write(int16_t *inputData, int32_t inputChannelCount, int32_t numFrames) { in write() argument
319 mData[mFrameCounter++] = inputData[i * inputChannelCount] * (1.0f / 32768); in write()
325 int32_t write(float *inputData, int32_t inputChannelCount, int32_t numFrames) { in write() argument
331 mData[mFrameCounter++] = inputData[i * inputChannelCount]; in write()
453 virtual process_result process(float *inputData, int inputChannelCount,
493 static float measurePeakAmplitude(float *inputData, int inputChannelCount, int numFrames) { in measurePeakAmplitude() argument
500 inputData += inputChannelCount; in measurePeakAmplitude()
647 process_result process(float *inputData, int inputChannelCount, in process() argument
650 int channelsValid = std::min(inputChannelCount, outputChannelCount); in process()
674 peak = measurePeakAmplitude(inputData, inputChannelCount, numFrames); in process()
[all …]