Searched defs:dstConfig (Results 1 - 4 of 4) sorted by relevance
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | AudioInputDescriptor.cpp | 63 void AudioInputDescriptor::toAudioPortConfig(struct audio_port_config *dstConfig, argument 68 dstConfig->config_mask = AUDIO_PORT_CONFIG_SAMPLE_RATE|AUDIO_PORT_CONFIG_CHANNEL_MASK| 71 dstConfig->config_mask |= srcConfig->config_mask; 74 AudioPortConfig::toAudioPortConfig(dstConfig, srcConfig); 76 dstConfig->id = mId; 77 dstConfig->role = AUDIO_PORT_ROLE_SINK; 78 dstConfig->type = AUDIO_PORT_TYPE_MIX; 79 dstConfig->ext.mix.hw_module = getModuleHandle(); 80 dstConfig->ext.mix.handle = mIoHandle; 81 dstConfig [all...] |
H A D | AudioOutputDescriptor.cpp | 163 struct audio_port_config *dstConfig, 166 dstConfig->config_mask = AUDIO_PORT_CONFIG_SAMPLE_RATE|AUDIO_PORT_CONFIG_CHANNEL_MASK| 169 dstConfig->config_mask |= srcConfig->config_mask; 171 AudioPortConfig::toAudioPortConfig(dstConfig, srcConfig); 173 dstConfig->id = mId; 174 dstConfig->role = AUDIO_PORT_ROLE_SOURCE; 175 dstConfig->type = AUDIO_PORT_TYPE_MIX; 176 dstConfig->ext.mix.hw_module = getModuleHandle(); 177 dstConfig->ext.mix.usecase.stream = AUDIO_STREAM_DEFAULT; 347 struct audio_port_config *dstConfig, 162 toAudioPortConfig( struct audio_port_config *dstConfig, const struct audio_port_config *srcConfig) const argument 346 toAudioPortConfig( struct audio_port_config *dstConfig, const struct audio_port_config *srcConfig) const argument [all...] |
H A D | DeviceDescriptor.cpp | 269 void DeviceDescriptor::toAudioPortConfig(struct audio_port_config *dstConfig, argument 272 dstConfig->config_mask = AUDIO_PORT_CONFIG_CHANNEL_MASK|AUDIO_PORT_CONFIG_GAIN; 274 dstConfig->config_mask |= srcConfig->config_mask; 277 AudioPortConfig::toAudioPortConfig(dstConfig, srcConfig); 279 dstConfig->id = mId; 280 dstConfig->role = audio_is_output_device(mDeviceType) ? 282 dstConfig->type = AUDIO_PORT_TYPE_DEVICE; 283 dstConfig->ext.device.type = mDeviceType; 289 dstConfig->ext.device.hw_module = mModule != 0 ? mModule->mHandle : AUDIO_IO_HANDLE_NONE; 290 strncpy(dstConfig [all...] |
H A D | AudioPort.cpp | 887 void AudioPortConfig::toAudioPortConfig(struct audio_port_config *dstConfig, argument 890 if (dstConfig->config_mask & AUDIO_PORT_CONFIG_SAMPLE_RATE) { 891 dstConfig->sample_rate = mSamplingRate; 893 dstConfig->sample_rate = srcConfig->sample_rate; 896 dstConfig->sample_rate = 0; 898 if (dstConfig->config_mask & AUDIO_PORT_CONFIG_CHANNEL_MASK) { 899 dstConfig->channel_mask = mChannelMask; 901 dstConfig->channel_mask = srcConfig->channel_mask; 904 dstConfig->channel_mask = AUDIO_CHANNEL_NONE; 906 if (dstConfig [all...] |
Completed in 372 milliseconds