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.java933 AudioPortConfig sinkConfig = audioSink.activeConfig(); in updateAudioConfigLocked() local
939 if (sinkConfig != null) { in updateAudioConfigLocked()
941 sinkSamplingRate = sinkConfig.samplingRate(); in updateAudioConfigLocked()
944 sinkChannelMask = sinkConfig.channelMask(); in updateAudioConfigLocked()
947 sinkFormat = sinkConfig.format(); in updateAudioConfigLocked()
951 if (sinkConfig == null in updateAudioConfigLocked()
952 || sinkConfig.samplingRate() != sinkSamplingRate in updateAudioConfigLocked()
953 || sinkConfig.channelMask() != sinkChannelMask in updateAudioConfigLocked()
954 || sinkConfig.format() != sinkFormat) { in updateAudioConfigLocked()
966 sinkConfig = audioSink.buildConfig(sinkSamplingRate, sinkChannelMask, in updateAudioConfigLocked()
[all …]
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp1288 bool hwAvSync, audio_port_config *sourceConfig, audio_port_config *sinkConfig) const in getBestMsdAudioProfileFor()
1332 sinkConfig->sample_rate = bestSinkConfig.sample_rate; in getBestMsdAudioProfileFor()
1333 sinkConfig->channel_mask = bestSinkConfig.channel_mask; in getBestMsdAudioProfileFor()
1334 sinkConfig->format = bestSinkConfig.format; in getBestMsdAudioProfileFor()
1336 sinkConfig->flags.output = static_cast<audio_output_flags_t>( in getBestMsdAudioProfileFor()
1337 sinkConfig->flags.output | AUDIO_OUTPUT_FLAG_DIRECT); in getBestMsdAudioProfileFor()
1338 if (audio_is_iec61937_compatible(sinkConfig->format)) { in getBestMsdAudioProfileFor()
1343 sinkConfig->flags.output = static_cast<audio_output_flags_t>( in getBestMsdAudioProfileFor()
1344 sinkConfig->flags.output | AUDIO_OUTPUT_FLAG_IEC958_NONAUDIO); in getBestMsdAudioProfileFor()
1354 sinkConfig->flags.output = static_cast<audio_output_flags_t>( in getBestMsdAudioProfileFor()
[all …]
DAudioPolicyManager.h792 audio_port_config *sinkConfig) const;