Searched refs:sinkConfig (Results 1 – 3 of 3) sorted by relevance
929 AudioPortConfig sinkConfig = audioSink.activeConfig(); in updateAudioConfigLocked() local935 if (sinkConfig != null) { in updateAudioConfigLocked()937 sinkSamplingRate = sinkConfig.samplingRate(); in updateAudioConfigLocked()940 sinkChannelMask = sinkConfig.channelMask(); in updateAudioConfigLocked()943 sinkFormat = sinkConfig.format(); in updateAudioConfigLocked()947 if (sinkConfig == null in updateAudioConfigLocked()948 || sinkConfig.samplingRate() != sinkSamplingRate in updateAudioConfigLocked()949 || sinkConfig.channelMask() != sinkChannelMask in updateAudioConfigLocked()950 || sinkConfig.format() != sinkFormat) { in updateAudioConfigLocked()962 sinkConfig = audioSink.buildConfig(sinkSamplingRate, sinkChannelMask, in updateAudioConfigLocked()[all …]
1315 bool hwAvSync, audio_port_config *sourceConfig, audio_port_config *sinkConfig) const in getBestMsdAudioProfileFor()1359 sinkConfig->sample_rate = bestSinkConfig.sample_rate; in getBestMsdAudioProfileFor()1360 sinkConfig->channel_mask = bestSinkConfig.channel_mask; in getBestMsdAudioProfileFor()1361 sinkConfig->format = bestSinkConfig.format; in getBestMsdAudioProfileFor()1363 sinkConfig->flags.output = static_cast<audio_output_flags_t>( in getBestMsdAudioProfileFor()1364 sinkConfig->flags.output | AUDIO_OUTPUT_FLAG_DIRECT); in getBestMsdAudioProfileFor()1373 sinkConfig->flags.output = static_cast<audio_output_flags_t>( in getBestMsdAudioProfileFor()1374 sinkConfig->flags.output | AUDIO_OUTPUT_FLAG_HW_AV_SYNC); in getBestMsdAudioProfileFor()1380 sinkConfig->config_mask |= config_mask; in getBestMsdAudioProfileFor()1390 audio_port_config sinkConfig = patchBuilder.patch()->sinks[0]; in buildMsdPatch() local[all …]
774 audio_port_config *sinkConfig) const;