Lines Matching refs:inputCfg
137 if (pConfig->inputCfg.samplingRate != pConfig->outputCfg.samplingRate) return -EINVAL;
138 if (pConfig->inputCfg.channels != pConfig->outputCfg.channels) return -EINVAL;
139 if (pConfig->inputCfg.format != pConfig->outputCfg.format) return -EINVAL;
140 if (pConfig->inputCfg.channels != AUDIO_CHANNEL_OUT_STEREO) return -EINVAL;
143 if (pConfig->inputCfg.format != AUDIO_FORMAT_PCM_16_BIT) return -EINVAL;
187 pContext->mConfig.inputCfg.accessMode = EFFECT_BUFFER_ACCESS_READ;
188 pContext->mConfig.inputCfg.channels = AUDIO_CHANNEL_OUT_STEREO;
189 pContext->mConfig.inputCfg.format = AUDIO_FORMAT_PCM_16_BIT;
190 pContext->mConfig.inputCfg.samplingRate = 44100;
191 pContext->mConfig.inputCfg.bufferProvider.getBuffer = NULL;
192 pContext->mConfig.inputCfg.bufferProvider.releaseBuffer = NULL;
193 pContext->mConfig.inputCfg.bufferProvider.cookie = NULL;
194 pContext->mConfig.inputCfg.mask = EFFECT_CONFIG_ALL;
209 pContext->mChannelCount = popcount(pContext->mConfig.inputCfg.channels);
560 const uint32_t deltaSmpl = pContext->mConfig.inputCfg.samplingRate * latencyMs / 1000;