Lines Matching refs:sourceConfig
1475 audio_port_config *sourceConfig, audio_port_config *sinkConfig) const in getBestMsdConfig() argument
1500 sourceConfig->sample_rate = bestSinkConfig.sample_rate; in getBestMsdConfig()
1502 sourceConfig->channel_mask = audio_channel_mask_out_to_in(bestSinkConfig.channel_mask); in getBestMsdConfig()
1503 sourceConfig->format = bestSinkConfig.format; in getBestMsdConfig()
1505 sourceConfig->flags.input = static_cast<audio_input_flags_t>( in getBestMsdConfig()
1506 sourceConfig->flags.input | AUDIO_INPUT_FLAG_DIRECT); in getBestMsdConfig()
1510 sourceConfig->flags.input = static_cast<audio_input_flags_t>( in getBestMsdConfig()
1511 sourceConfig->flags.input | AUDIO_INPUT_FLAG_HW_AV_SYNC); in getBestMsdConfig()
1516 sourceConfig->config_mask |= config_mask; in getBestMsdConfig()
1541 audio_port_config sourceConfig = patchBuilder.patch()->sources[0]; in buildMsdPatch() local
1552 if (getBestMsdConfig(hwAvSync, sourceProfiles, sinkProfiles, &sourceConfig, in buildMsdPatch()
1555 return (PatchBuilder()).addSource(sourceConfig).addSink(sinkConfig); in buildMsdPatch()