Searched defs:dstConfig (Results 1 - 4 of 4) sorted by relevance
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | AudioInputDescriptor.cpp | 73 void AudioInputDescriptor::toAudioPortConfig(struct audio_port_config *dstConfig, argument 78 dstConfig->config_mask = AUDIO_PORT_CONFIG_SAMPLE_RATE|AUDIO_PORT_CONFIG_CHANNEL_MASK| 81 dstConfig->config_mask |= srcConfig->config_mask; 84 AudioPortConfig::toAudioPortConfig(dstConfig, srcConfig); 86 dstConfig->id = mId; 87 dstConfig->role = AUDIO_PORT_ROLE_SINK; 88 dstConfig->type = AUDIO_PORT_TYPE_MIX; 89 dstConfig->ext.mix.hw_module = getModuleHandle(); 90 dstConfig->ext.mix.handle = mIoHandle; 91 dstConfig [all...] |
H A D | AudioOutputDescriptor.cpp | 161 struct audio_port_config *dstConfig, 164 dstConfig->config_mask = AUDIO_PORT_CONFIG_SAMPLE_RATE|AUDIO_PORT_CONFIG_CHANNEL_MASK| 167 dstConfig->config_mask |= srcConfig->config_mask; 169 AudioPortConfig::toAudioPortConfig(dstConfig, srcConfig); 171 dstConfig->id = mId; 172 dstConfig->role = AUDIO_PORT_ROLE_SOURCE; 173 dstConfig->type = AUDIO_PORT_TYPE_MIX; 174 dstConfig->ext.mix.hw_module = getModuleHandle(); 175 dstConfig->ext.mix.usecase.stream = AUDIO_STREAM_DEFAULT; 345 struct audio_port_config *dstConfig, 160 toAudioPortConfig( struct audio_port_config *dstConfig, const struct audio_port_config *srcConfig) const argument 344 toAudioPortConfig( struct audio_port_config *dstConfig, const struct audio_port_config *srcConfig) const argument 418 toAudioPortConfig( struct audio_port_config *dstConfig, const struct audio_port_config *srcConfig) const argument [all...] |
H A D | DeviceDescriptor.cpp | 222 void DeviceDescriptor::toAudioPortConfig(struct audio_port_config *dstConfig, argument 225 dstConfig->config_mask = AUDIO_PORT_CONFIG_GAIN; 227 dstConfig->config_mask |= AUDIO_PORT_CONFIG_SAMPLE_RATE; 230 dstConfig->config_mask |= AUDIO_PORT_CONFIG_CHANNEL_MASK; 233 dstConfig->config_mask |= AUDIO_PORT_CONFIG_FORMAT; 237 dstConfig->config_mask |= srcConfig->config_mask; 240 AudioPortConfig::toAudioPortConfig(dstConfig, srcConfig); 242 dstConfig->id = mId; 243 dstConfig->role = audio_is_output_device(mDeviceType) ? 245 dstConfig [all...] |
H A D | AudioPort.cpp | 437 void AudioPortConfig::toAudioPortConfig(struct audio_port_config *dstConfig, argument 440 if (dstConfig->config_mask & AUDIO_PORT_CONFIG_SAMPLE_RATE) { 441 dstConfig->sample_rate = mSamplingRate; 443 dstConfig->sample_rate = srcConfig->sample_rate; 446 dstConfig->sample_rate = 0; 448 if (dstConfig->config_mask & AUDIO_PORT_CONFIG_CHANNEL_MASK) { 449 dstConfig->channel_mask = mChannelMask; 451 dstConfig->channel_mask = srcConfig->channel_mask; 454 dstConfig->channel_mask = AUDIO_CHANNEL_NONE; 456 if (dstConfig [all...] |
Completed in 644 milliseconds