Lines Matching refs:dstConfig
57 void DeviceDescriptorBase::toAudioPortConfig(struct audio_port_config *dstConfig, in toAudioPortConfig() argument
60 dstConfig->config_mask = AUDIO_PORT_CONFIG_GAIN; in toAudioPortConfig()
62 dstConfig->config_mask |= AUDIO_PORT_CONFIG_SAMPLE_RATE; in toAudioPortConfig()
65 dstConfig->config_mask |= AUDIO_PORT_CONFIG_CHANNEL_MASK; in toAudioPortConfig()
68 dstConfig->config_mask |= AUDIO_PORT_CONFIG_FORMAT; in toAudioPortConfig()
72 dstConfig->config_mask |= srcConfig->config_mask; in toAudioPortConfig()
75 AudioPortConfig::toAudioPortConfig(dstConfig, srcConfig); in toAudioPortConfig()
77 dstConfig->role = audio_is_output_device(mDeviceTypeAddr.mType) ? in toAudioPortConfig()
79 dstConfig->type = AUDIO_PORT_TYPE_DEVICE; in toAudioPortConfig()
80 dstConfig->ext.device.type = mDeviceTypeAddr.mType; in toAudioPortConfig()
82 (void)audio_utils_strlcpy_zerofill(dstConfig->ext.device.address, mDeviceTypeAddr.getAddress()); in toAudioPortConfig()