Lines Matching refs:sourceConfig
1440 audio_port_config *sourceConfig, audio_port_config *sinkConfig) const in getBestMsdConfig() argument
1465 sourceConfig->sample_rate = bestSinkConfig.sample_rate; in getBestMsdConfig()
1467 sourceConfig->channel_mask = audio_channel_mask_out_to_in(bestSinkConfig.channel_mask); in getBestMsdConfig()
1468 sourceConfig->format = bestSinkConfig.format; in getBestMsdConfig()
1470 sourceConfig->flags.input = static_cast<audio_input_flags_t>( in getBestMsdConfig()
1471 sourceConfig->flags.input | AUDIO_INPUT_FLAG_DIRECT); in getBestMsdConfig()
1475 sourceConfig->flags.input = static_cast<audio_input_flags_t>( in getBestMsdConfig()
1476 sourceConfig->flags.input | AUDIO_INPUT_FLAG_HW_AV_SYNC); in getBestMsdConfig()
1481 sourceConfig->config_mask |= config_mask; in getBestMsdConfig()
1506 audio_port_config sourceConfig = patchBuilder.patch()->sources[0]; in buildMsdPatch() local
1517 if (getBestMsdConfig(hwAvSync, sourceProfiles, sinkProfiles, &sourceConfig, in buildMsdPatch()
1520 return (PatchBuilder()).addSource(sourceConfig).addSink(sinkConfig); in buildMsdPatch()