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.java1147 AudioPortConfig sinkConfig = audioSink.activeConfig(); in updateAudioConfigLocked() local
1153 if (sinkConfig != null) { in updateAudioConfigLocked()
1155 sinkSamplingRate = sinkConfig.samplingRate(); in updateAudioConfigLocked()
1158 sinkChannelMask = sinkConfig.channelMask(); in updateAudioConfigLocked()
1161 sinkFormat = sinkConfig.format(); in updateAudioConfigLocked()
1165 if (sinkConfig == null in updateAudioConfigLocked()
1166 || sinkConfig.samplingRate() != sinkSamplingRate in updateAudioConfigLocked()
1167 || sinkConfig.channelMask() != sinkChannelMask in updateAudioConfigLocked()
1168 || sinkConfig.format() != sinkFormat) { in updateAudioConfigLocked()
1180 sinkConfig = audioSink.buildConfig(sinkSamplingRate, sinkChannelMask, in updateAudioConfigLocked()
[all …]
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp1861 audio_port_config *sourceConfig, audio_port_config *sinkConfig) const in getBestMsdConfig()
1891 sinkConfig->sample_rate = bestSinkConfig.sample_rate; in getBestMsdConfig()
1892 sinkConfig->channel_mask = bestSinkConfig.channel_mask; in getBestMsdConfig()
1893 sinkConfig->format = bestSinkConfig.format; in getBestMsdConfig()
1895 sinkConfig->flags.output = static_cast<audio_output_flags_t>( in getBestMsdConfig()
1896 sinkConfig->flags.output | AUDIO_OUTPUT_FLAG_DIRECT); in getBestMsdConfig()
1897 if (audio_is_iec61937_compatible(sinkConfig->format)) { in getBestMsdConfig()
1902 sinkConfig->flags.output = static_cast<audio_output_flags_t>( in getBestMsdConfig()
1903 sinkConfig->flags.output | AUDIO_OUTPUT_FLAG_IEC958_NONAUDIO); in getBestMsdConfig()
1916 sinkConfig->flags.output = static_cast<audio_output_flags_t>( in getBestMsdConfig()
[all …]
DAudioPolicyManager.h1071 audio_port_config *sinkConfig) const;