Searched refs:config_mask (Results 1 – 14 of 14) sorted by relevance
51 dstConfig->config_mask = AUDIO_PORT_CONFIG_GAIN; in toAudioPortConfig()53 dstConfig->config_mask |= AUDIO_PORT_CONFIG_SAMPLE_RATE; in toAudioPortConfig()56 dstConfig->config_mask |= AUDIO_PORT_CONFIG_CHANNEL_MASK; in toAudioPortConfig()59 dstConfig->config_mask |= AUDIO_PORT_CONFIG_FORMAT; in toAudioPortConfig()63 dstConfig->config_mask |= srcConfig->config_mask; in toAudioPortConfig()
154 if (config->config_mask & AUDIO_PORT_CONFIG_SAMPLE_RATE) { in applyAudioPortConfig()157 if (config->config_mask & AUDIO_PORT_CONFIG_CHANNEL_MASK) { in applyAudioPortConfig()160 if (config->config_mask & AUDIO_PORT_CONFIG_FORMAT) { in applyAudioPortConfig()163 if (config->config_mask & AUDIO_PORT_CONFIG_GAIN) { in applyAudioPortConfig()178 if (dstConfig->config_mask & configMask) { in updateField()179 if ((srcConfig != nullptr) && (srcConfig->config_mask & configMask)) { in updateField()205 if ((dstConfig->config_mask & AUDIO_PORT_CONFIG_GAIN) && audioport != NULL) { in toAudioPortConfig()207 if ((srcConfig != NULL) && (srcConfig->config_mask & AUDIO_PORT_CONFIG_GAIN) in toAudioPortConfig()215 dstConfig->config_mask |= AUDIO_PORT_CONFIG_GAIN; in toAudioPortConfig()217 dstConfig->config_mask &= ~AUDIO_PORT_CONFIG_GAIN; in toAudioPortConfig()
67 auto config_mask = config->config_mask; in checkExactAudioProfile() local68 if (config_mask & AUDIO_PORT_CONFIG_GAIN) { in checkExactAudioProfile()69 config_mask &= ~AUDIO_PORT_CONFIG_GAIN; in checkExactAudioProfile()75 if (config_mask != 0) { in checkExactAudioProfile()281 if (dstConfig->config_mask & AUDIO_PORT_CONFIG_FLAGS) { in toPolicyAudioPortConfig()282 if ((srcConfig != nullptr) && (srcConfig->config_mask & AUDIO_PORT_CONFIG_FLAGS)) { in toPolicyAudioPortConfig()
59 struct audio_port_config localBackupConfig = { .config_mask = config->config_mask }; in applyAudioPortConfig()79 dstConfig->config_mask = AUDIO_PORT_CONFIG_SAMPLE_RATE|AUDIO_PORT_CONFIG_CHANNEL_MASK| in toAudioPortConfig()82 dstConfig->config_mask |= srcConfig->config_mask; in toAudioPortConfig()
173 struct audio_port_config localBackupConfig = { .config_mask = config->config_mask }; in applyAudioPortConfig()192 dstConfig->config_mask = AUDIO_PORT_CONFIG_SAMPLE_RATE|AUDIO_PORT_CONFIG_CHANNEL_MASK| in toAudioPortConfig()195 dstConfig->config_mask |= srcConfig->config_mask; in toAudioPortConfig()448 config.config_mask = AUDIO_PORT_CONFIG_GAIN; in setVolume()
60 .config_mask = AUDIO_PORT_CONFIG_ALL & ~AUDIO_PORT_CONFIG_GAIN, in isCompatibleProfile()
128 struct audio_port_config localBackupConfig = { .config_mask = config->config_mask }; in applyAudioPortConfig()
239 if (patch->sinks[0].config_mask & AUDIO_PORT_CONFIG_SAMPLE_RATE) { in createAudioPatch()242 if (patch->sinks[0].config_mask & AUDIO_PORT_CONFIG_CHANNEL_MASK) { in createAudioPatch()245 if (patch->sinks[0].config_mask & AUDIO_PORT_CONFIG_FORMAT) { in createAudioPatch()248 if (patch->sinks[0].config_mask & AUDIO_PORT_CONFIG_FLAGS) { in createAudioPatch()270 if (patch->sources[0].config_mask & AUDIO_PORT_CONFIG_SAMPLE_RATE) { in createAudioPatch()275 if (patch->sources[0].config_mask & AUDIO_PORT_CONFIG_CHANNEL_MASK) { in createAudioPatch()281 if (patch->sources[0].config_mask & AUDIO_PORT_CONFIG_FORMAT) { in createAudioPatch()287 patch->sources[0].config_mask & AUDIO_PORT_CONFIG_FLAGS ? in createAudioPatch()469 audio_input_flags_t inputFlags = mAudioPatch.sources[0].config_mask & AUDIO_PORT_CONFIG_FLAGS ? in createConnections()483 audio_output_flags_t outputFlags = mAudioPatch.sinks[0].config_mask & AUDIO_PORT_CONFIG_FLAGS ? in createConnections()
3097 (mDevicePort.config_mask & AUDIO_PORT_CONFIG_SAMPLE_RATE) != 0) { in sampleRate()3105 (mDevicePort.config_mask & AUDIO_PORT_CONFIG_CHANNEL_MASK) != 0) { in channelMask()
1605 config->config_mask = AUDIO_PORT_CONFIG_SAMPLE_RATE|AUDIO_PORT_CONFIG_CHANNEL_MASK| in toAudioPortConfig()4197 config->config_mask |= AUDIO_PORT_CONFIG_FLAGS; in toAudioPortConfig()8458 config->config_mask |= AUDIO_PORT_CONFIG_FLAGS; in toAudioPortConfig()9400 config->config_mask |= AUDIO_PORT_CONFIG_FLAGS; in toAudioPortConfig()9504 config->config_mask |= AUDIO_PORT_CONFIG_FLAGS; in toAudioPortConfig()
133 if (config->config_mask & AUDIO_PORT_CONFIG_FLAGS) { in applyPolicyAudioPortConfig()
37 .config_mask = AUDIO_PORT_CONFIG_SAMPLE_RATE | AUDIO_PORT_CONFIG_CHANNEL_MASK |
1359 const unsigned int config_mask = AUDIO_PORT_CONFIG_SAMPLE_RATE | in getBestMsdAudioProfileFor() local1361 sinkConfig->config_mask |= config_mask; in getBestMsdAudioProfileFor()1362 sourceConfig->config_mask |= config_mask; in getBestMsdAudioProfileFor()3758 if (config->config_mask != AUDIO_PORT_CONFIG_GAIN) { in setAudioPortConfig()
870 nAudioPortConfig->config_mask = env->GetIntField(jAudioPortConfig, in convertAudioPortConfigToNative()873 nAudioPortConfig->config_mask = configMask; in convertAudioPortConfigToNative()