Home
last modified time | relevance | path

Searched refs:config_mask (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPort.cpp143 auto config_mask = config->config_mask; in checkExactAudioProfile() local
144 if (config_mask & AUDIO_PORT_CONFIG_GAIN) { in checkExactAudioProfile()
145 config_mask &= ~AUDIO_PORT_CONFIG_GAIN; in checkExactAudioProfile()
151 if (config_mask != 0) { in checkExactAudioProfile()
404 localBackupConfig.config_mask = config->config_mask; in applyAudioPortConfig()
416 if (config->config_mask & AUDIO_PORT_CONFIG_SAMPLE_RATE) { in applyAudioPortConfig()
419 if (config->config_mask & AUDIO_PORT_CONFIG_CHANNEL_MASK) { in applyAudioPortConfig()
422 if (config->config_mask & AUDIO_PORT_CONFIG_FORMAT) { in applyAudioPortConfig()
425 if (config->config_mask & AUDIO_PORT_CONFIG_GAIN) { in applyAudioPortConfig()
442 if (dstConfig->config_mask & AUDIO_PORT_CONFIG_SAMPLE_RATE) { in toAudioPortConfig()
[all …]
DDeviceDescriptor.cpp222 dstConfig->config_mask = AUDIO_PORT_CONFIG_GAIN; in toAudioPortConfig()
224 dstConfig->config_mask |= AUDIO_PORT_CONFIG_SAMPLE_RATE; in toAudioPortConfig()
227 dstConfig->config_mask |= AUDIO_PORT_CONFIG_CHANNEL_MASK; in toAudioPortConfig()
230 dstConfig->config_mask |= AUDIO_PORT_CONFIG_FORMAT; in toAudioPortConfig()
234 dstConfig->config_mask |= srcConfig->config_mask; in toAudioPortConfig()
DAudioInputDescriptor.cpp73 dstConfig->config_mask = AUDIO_PORT_CONFIG_SAMPLE_RATE|AUDIO_PORT_CONFIG_CHANNEL_MASK| in toAudioPortConfig()
76 dstConfig->config_mask |= srcConfig->config_mask; in toAudioPortConfig()
DIOProfile.cpp77 .config_mask = AUDIO_PORT_CONFIG_ALL & ~AUDIO_PORT_CONFIG_GAIN, in isCompatibleProfile()
DAudioOutputDescriptor.cpp165 dstConfig->config_mask = AUDIO_PORT_CONFIG_SAMPLE_RATE|AUDIO_PORT_CONFIG_CHANNEL_MASK| in toAudioPortConfig()
168 dstConfig->config_mask |= srcConfig->config_mask; in toAudioPortConfig()
/frameworks/av/services/audioflinger/
DPatchPanel.cpp297 if (patch->sources[0].config_mask & AUDIO_PORT_CONFIG_SAMPLE_RATE) { in createAudioPatch()
302 if (patch->sources[0].config_mask & AUDIO_PORT_CONFIG_CHANNEL_MASK) { in createAudioPatch()
308 if (patch->sources[0].config_mask & AUDIO_PORT_CONFIG_FORMAT) { in createAudioPatch()
DThreads.cpp1529 config->config_mask = AUDIO_PORT_CONFIG_SAMPLE_RATE|AUDIO_PORT_CONFIG_CHANNEL_MASK| in getAudioPortConfig()
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp735 nAudioPortConfig->config_mask = env->GetIntField(jAudioPortConfig, in convertAudioPortConfigToNative()
738 nAudioPortConfig->config_mask = configMask; in convertAudioPortConfigToNative()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp3189 if (config->config_mask != AUDIO_PORT_CONFIG_GAIN) { in setAudioPortConfig()