Searched refs:sinkConfig (Results 1 – 3 of 3) sorted by relevance
983 AudioPortConfig sinkConfig = audioSink.activeConfig(); in updateAudioConfigLocked() local989 if (sinkConfig != null) { in updateAudioConfigLocked()991 sinkSamplingRate = sinkConfig.samplingRate(); in updateAudioConfigLocked()994 sinkChannelMask = sinkConfig.channelMask(); in updateAudioConfigLocked()997 sinkFormat = sinkConfig.format(); in updateAudioConfigLocked()1001 if (sinkConfig == null in updateAudioConfigLocked()1002 || sinkConfig.samplingRate() != sinkSamplingRate in updateAudioConfigLocked()1003 || sinkConfig.channelMask() != sinkChannelMask in updateAudioConfigLocked()1004 || sinkConfig.format() != sinkFormat) { in updateAudioConfigLocked()1016 sinkConfig = audioSink.buildConfig(sinkSamplingRate, sinkChannelMask, in updateAudioConfigLocked()[all …]
1440 audio_port_config *sourceConfig, audio_port_config *sinkConfig) const in getBestMsdConfig()1451 sinkConfig->sample_rate = bestSinkConfig.sample_rate; in getBestMsdConfig()1452 sinkConfig->channel_mask = bestSinkConfig.channel_mask; in getBestMsdConfig()1453 sinkConfig->format = bestSinkConfig.format; in getBestMsdConfig()1455 sinkConfig->flags.output = static_cast<audio_output_flags_t>( in getBestMsdConfig()1456 sinkConfig->flags.output | AUDIO_OUTPUT_FLAG_DIRECT); in getBestMsdConfig()1457 if (audio_is_iec61937_compatible(sinkConfig->format)) { in getBestMsdConfig()1462 sinkConfig->flags.output = static_cast<audio_output_flags_t>( in getBestMsdConfig()1463 sinkConfig->flags.output | AUDIO_OUTPUT_FLAG_IEC958_NONAUDIO); in getBestMsdConfig()1473 sinkConfig->flags.output = static_cast<audio_output_flags_t>( in getBestMsdConfig()[all …]
887 audio_port_config *sinkConfig) const;