Lines Matching refs:sinkConfig
1341 bool hwAvSync, audio_port_config *sourceConfig, audio_port_config *sinkConfig) const in getBestMsdAudioProfileFor()
1385 sinkConfig->sample_rate = bestSinkConfig.sample_rate; in getBestMsdAudioProfileFor()
1386 sinkConfig->channel_mask = bestSinkConfig.channel_mask; in getBestMsdAudioProfileFor()
1387 sinkConfig->format = bestSinkConfig.format; in getBestMsdAudioProfileFor()
1389 sinkConfig->flags.output = static_cast<audio_output_flags_t>( in getBestMsdAudioProfileFor()
1390 sinkConfig->flags.output | AUDIO_OUTPUT_FLAG_DIRECT); in getBestMsdAudioProfileFor()
1391 if (audio_is_iec61937_compatible(sinkConfig->format)) { in getBestMsdAudioProfileFor()
1396 sinkConfig->flags.output = static_cast<audio_output_flags_t>( in getBestMsdAudioProfileFor()
1397 sinkConfig->flags.output | AUDIO_OUTPUT_FLAG_IEC958_NONAUDIO); in getBestMsdAudioProfileFor()
1407 sinkConfig->flags.output = static_cast<audio_output_flags_t>( in getBestMsdAudioProfileFor()
1408 sinkConfig->flags.output | AUDIO_OUTPUT_FLAG_HW_AV_SYNC); in getBestMsdAudioProfileFor()
1414 sinkConfig->config_mask |= config_mask; in getBestMsdAudioProfileFor()
1424 audio_port_config sinkConfig = patchBuilder.patch()->sinks[0]; in buildMsdPatch() local
1428 &sourceConfig, &sinkConfig) == NO_ERROR ? NO_ERROR : in buildMsdPatch()
1430 outputDevice, false /*hwAvSync*/, &sourceConfig, &sinkConfig); in buildMsdPatch()
1433 return (PatchBuilder()).addSource(sourceConfig).addSink(sinkConfig); in buildMsdPatch()