Searched refs:sinkConfig (Results 1 – 3 of 3) sorted by relevance
956 AudioPortConfig sinkConfig = audioSink.activeConfig(); in updateAudioConfigLocked() local962 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 …]
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()[all …]
804 audio_port_config *sinkConfig) const;