Searched defs:dstConfig (Results 1 - 4 of 4) sorted by relevance
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | AudioInputDescriptor.cpp | 68 void AudioInputDescriptor::toAudioPortConfig(struct audio_port_config *dstConfig, argument 73 dstConfig->config_mask = AUDIO_PORT_CONFIG_SAMPLE_RATE|AUDIO_PORT_CONFIG_CHANNEL_MASK| 76 dstConfig->config_mask |= srcConfig->config_mask; 79 AudioPortConfig::toAudioPortConfig(dstConfig, srcConfig); 81 dstConfig->id = mId; 82 dstConfig->role = AUDIO_PORT_ROLE_SINK; 83 dstConfig->type = AUDIO_PORT_TYPE_MIX; 84 dstConfig->ext.mix.hw_module = getModuleHandle(); 85 dstConfig->ext.mix.handle = mIoHandle; 86 dstConfig [all...] |
H A D | DeviceDescriptor.cpp | 219 void DeviceDescriptor::toAudioPortConfig(struct audio_port_config *dstConfig, argument 222 dstConfig->config_mask = AUDIO_PORT_CONFIG_GAIN; 224 dstConfig->config_mask |= AUDIO_PORT_CONFIG_SAMPLE_RATE; 227 dstConfig->config_mask |= AUDIO_PORT_CONFIG_CHANNEL_MASK; 230 dstConfig->config_mask |= AUDIO_PORT_CONFIG_FORMAT; 234 dstConfig->config_mask |= srcConfig->config_mask; 237 AudioPortConfig::toAudioPortConfig(dstConfig, srcConfig); 239 dstConfig->id = mId; 240 dstConfig->role = audio_is_output_device(mDeviceType) ? 242 dstConfig [all...] |
H A D | AudioOutputDescriptor.cpp | 162 struct audio_port_config *dstConfig, 165 dstConfig->config_mask = AUDIO_PORT_CONFIG_SAMPLE_RATE|AUDIO_PORT_CONFIG_CHANNEL_MASK| 168 dstConfig->config_mask |= srcConfig->config_mask; 170 AudioPortConfig::toAudioPortConfig(dstConfig, srcConfig); 172 dstConfig->id = mId; 173 dstConfig->role = AUDIO_PORT_ROLE_SOURCE; 174 dstConfig->type = AUDIO_PORT_TYPE_MIX; 175 dstConfig->ext.mix.hw_module = getModuleHandle(); 176 dstConfig->ext.mix.usecase.stream = AUDIO_STREAM_DEFAULT; 344 struct audio_port_config *dstConfig, 161 toAudioPortConfig( struct audio_port_config *dstConfig, const struct audio_port_config *srcConfig) const argument 343 toAudioPortConfig( struct audio_port_config *dstConfig, const struct audio_port_config *srcConfig) const argument 565 toAudioPortConfig( struct audio_port_config *dstConfig, const struct audio_port_config *srcConfig) const argument [all...] |
H A D | AudioPort.cpp | 439 void AudioPortConfig::toAudioPortConfig(struct audio_port_config *dstConfig, argument 442 if (dstConfig->config_mask & AUDIO_PORT_CONFIG_SAMPLE_RATE) { 443 dstConfig->sample_rate = mSamplingRate; 445 dstConfig->sample_rate = srcConfig->sample_rate; 448 dstConfig->sample_rate = 0; 450 if (dstConfig->config_mask & AUDIO_PORT_CONFIG_CHANNEL_MASK) { 451 dstConfig->channel_mask = mChannelMask; 453 dstConfig->channel_mask = srcConfig->channel_mask; 456 dstConfig->channel_mask = AUDIO_CHANNEL_NONE; 458 if (dstConfig [all...] |
Completed in 53 milliseconds