Lines Matching refs:srcConfig
315 struct audio_port_config *dstConfig, const struct audio_port_config *srcConfig, in updateField() argument
319 if ((srcConfig != nullptr) && (srcConfig->config_mask & configMask)) { in updateField()
320 dstConfig->*port_config_field = srcConfig->*port_config_field; in updateField()
333 const struct audio_port_config *srcConfig) const in toAudioPortConfig()
336 dstConfig, srcConfig, AUDIO_PORT_CONFIG_SAMPLE_RATE, 0u); in toAudioPortConfig()
338 dstConfig, srcConfig, AUDIO_PORT_CONFIG_CHANNEL_MASK, in toAudioPortConfig()
341 dstConfig, srcConfig, AUDIO_PORT_CONFIG_FORMAT, AUDIO_FORMAT_INVALID); in toAudioPortConfig()
347 if ((srcConfig != NULL) && (srcConfig->config_mask & AUDIO_PORT_CONFIG_GAIN) in toAudioPortConfig()
348 && audioport->checkGain(&srcConfig->gain, srcConfig->gain.index) == OK) { in toAudioPortConfig()
349 dstConfig->gain = srcConfig->gain; in toAudioPortConfig()
361 dstConfig, srcConfig, AUDIO_PORT_CONFIG_FLAGS, { AUDIO_INPUT_FLAG_NONE }); in toAudioPortConfig()