Home
last modified time | relevance | path

Searched refs:sinkConfig (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java956 AudioPortConfig sinkConfig = audioSink.activeConfig(); in updateAudioConfigLocked() local
962 if (sinkConfig != null) { in updateAudioConfigLocked()
964 sinkSamplingRate = sinkConfig.samplingRate(); in updateAudioConfigLocked()
967 sinkChannelMask = sinkConfig.channelMask(); in updateAudioConfigLocked()
970 sinkFormat = sinkConfig.format(); in updateAudioConfigLocked()
974 if (sinkConfig == null in updateAudioConfigLocked()
975 || sinkConfig.samplingRate() != sinkSamplingRate in updateAudioConfigLocked()
976 || sinkConfig.channelMask() != sinkChannelMask in updateAudioConfigLocked()
977 || sinkConfig.format() != sinkFormat) { in updateAudioConfigLocked()
989 sinkConfig = audioSink.buildConfig(sinkSamplingRate, sinkChannelMask, in updateAudioConfigLocked()
[all …]
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp1341 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()
[all …]
DAudioPolicyManager.h804 audio_port_config *sinkConfig) const;