Lines Matching refs:pConfig
605 * pConfig pointer to effect_config_t structure containing input
619 int Downmix_Configure(downmix_module_t *pDwmModule, effect_config_t *pConfig, bool init) {
624 if (pConfig->inputCfg.samplingRate != pConfig->outputCfg.samplingRate
625 || pConfig->outputCfg.channels != DOWNMIX_OUTPUT_CHANNELS
626 || pConfig->inputCfg.format != AUDIO_FORMAT_PCM_16_BIT
627 || pConfig->outputCfg.format != AUDIO_FORMAT_PCM_16_BIT) {
632 memcpy(&pDwmModule->config, pConfig, sizeof(effect_config_t));
640 if (pConfig->inputCfg.channels == 0) {
644 pDownmixer->input_channel_count = popcount(pConfig->inputCfg.channels);