Lines Matching refs:sourceConfig
1288 bool hwAvSync, audio_port_config *sourceConfig, audio_port_config *sinkConfig) const in getBestMsdAudioProfileFor() argument
1346 sourceConfig->sample_rate = bestSinkConfig.sample_rate; in getBestMsdAudioProfileFor()
1348 sourceConfig->channel_mask = audio_channel_mask_out_to_in(bestSinkConfig.channel_mask); in getBestMsdAudioProfileFor()
1349 sourceConfig->format = bestSinkConfig.format; in getBestMsdAudioProfileFor()
1351 sourceConfig->flags.input = static_cast<audio_input_flags_t>( in getBestMsdAudioProfileFor()
1352 sourceConfig->flags.input | AUDIO_INPUT_FLAG_DIRECT); in getBestMsdAudioProfileFor()
1356 sourceConfig->flags.input = static_cast<audio_input_flags_t>( in getBestMsdAudioProfileFor()
1357 sourceConfig->flags.input | AUDIO_INPUT_FLAG_HW_AV_SYNC); in getBestMsdAudioProfileFor()
1362 sourceConfig->config_mask |= config_mask; in getBestMsdAudioProfileFor()
1370 audio_port_config sourceConfig = patchBuilder.patch()->sources[0]; in buildMsdPatch() local
1375 &sourceConfig, &sinkConfig) == NO_ERROR ? NO_ERROR : in buildMsdPatch()
1377 outputDevice, false /*hwAvSync*/, &sourceConfig, &sinkConfig); in buildMsdPatch()
1380 return (PatchBuilder()).addSource(sourceConfig).addSink(sinkConfig); in buildMsdPatch()