Home
last modified time | relevance | path

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

/hardware/interfaces/audio/aidl/default/eraser/
DEraser.cpp228 const auto inputChannelCount = getChannelCount(mCommon.input.base.channelMask); in process() local
230 if (inputChannelCount < outputChannelCount) { in process()
231 LOG(ERROR) << __func__ << " invalid channel count, in: " << inputChannelCount in process()
236 if (samples <= 0 || 0 != samples % inputChannelCount) { in process()
241 const int iFrames = samples / inputChannelCount; in process()
253 in += inputChannelCount; in process()
264 procStatus.fmqConsumed = static_cast<int32_t>(iFrames * inputChannelCount); in process()
/hardware/interfaces/audio/aidl/default/spatializer/
DSpatializerSw.cpp207 const auto inputChannelCount = getChannelCount(mCommon.input.base.channelMask); in process() local
209 if (outputChannelCount < 2 || inputChannelCount < outputChannelCount) { in process()
210 LOG(ERROR) << __func__ << " invalid channel count, in: " << inputChannelCount in process()
215 int iFrames = samples / inputChannelCount; in process()
218 in += inputChannelCount; in process()
221 return {STATUS_OK, static_cast<int32_t>(iFrames * inputChannelCount), in process()