Searched refs:dstConfig (Results 1 - 8 of 8) sorted by relevance
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | AudioPort.cpp | 438 void AudioPortConfig::toAudioPortConfig(struct audio_port_config *dstConfig, argument 441 if (dstConfig->config_mask & AUDIO_PORT_CONFIG_SAMPLE_RATE) { 442 dstConfig->sample_rate = mSamplingRate; 444 dstConfig->sample_rate = srcConfig->sample_rate; 447 dstConfig->sample_rate = 0; 449 if (dstConfig->config_mask & AUDIO_PORT_CONFIG_CHANNEL_MASK) { 450 dstConfig->channel_mask = mChannelMask; 452 dstConfig->channel_mask = srcConfig->channel_mask; 455 dstConfig->channel_mask = AUDIO_CHANNEL_NONE; 457 if (dstConfig [all...] |
H A D | AudioInputDescriptor.cpp | 71 void AudioInputDescriptor::toAudioPortConfig(struct audio_port_config *dstConfig, argument 76 dstConfig->config_mask = AUDIO_PORT_CONFIG_SAMPLE_RATE|AUDIO_PORT_CONFIG_CHANNEL_MASK| 79 dstConfig->config_mask |= srcConfig->config_mask; 82 AudioPortConfig::toAudioPortConfig(dstConfig, srcConfig); 84 dstConfig->id = mId; 85 dstConfig->role = AUDIO_PORT_ROLE_SINK; 86 dstConfig->type = AUDIO_PORT_TYPE_MIX; 87 dstConfig->ext.mix.hw_module = getModuleHandle(); 88 dstConfig->ext.mix.handle = mIoHandle; 89 dstConfig [all...] |
H A D | DeviceDescriptor.cpp | 221 void DeviceDescriptor::toAudioPortConfig(struct audio_port_config *dstConfig, argument 224 dstConfig->config_mask = AUDIO_PORT_CONFIG_GAIN; 226 dstConfig->config_mask |= AUDIO_PORT_CONFIG_SAMPLE_RATE; 229 dstConfig->config_mask |= AUDIO_PORT_CONFIG_CHANNEL_MASK; 232 dstConfig->config_mask |= AUDIO_PORT_CONFIG_FORMAT; 236 dstConfig->config_mask |= srcConfig->config_mask; 239 AudioPortConfig::toAudioPortConfig(dstConfig, srcConfig); 241 dstConfig->id = mId; 242 dstConfig->role = audio_is_output_device(mDeviceType) ? 244 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; 346 struct audio_port_config *dstConfig, 160 toAudioPortConfig( struct audio_port_config *dstConfig, const struct audio_port_config *srcConfig) const argument 345 toAudioPortConfig( struct audio_port_config *dstConfig, const struct audio_port_config *srcConfig) const argument 419 toAudioPortConfig( struct audio_port_config *dstConfig, const struct audio_port_config *srcConfig) const argument [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | AudioInputDescriptor.h | 50 virtual void toAudioPortConfig(struct audio_port_config *dstConfig,
|
H A D | AudioOutputDescriptor.h | 69 virtual void toAudioPortConfig(struct audio_port_config *dstConfig, 121 virtual void toAudioPortConfig(struct audio_port_config *dstConfig, 154 virtual void toAudioPortConfig(struct audio_port_config *dstConfig,
|
H A D | DeviceDescriptor.h | 45 virtual void toAudioPortConfig(struct audio_port_config *dstConfig,
|
H A D | AudioPort.h | 166 virtual void toAudioPortConfig(struct audio_port_config *dstConfig,
|
Completed in 193 milliseconds