Home
last modified time | relevance | path

Searched refs:cnlCount (Results 1 – 1 of 1) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPort.cpp204 uint32_t cnlCount; in pickChannelMask() local
206 cnlCount = audio_channel_count_from_in_mask(channelMasks[i]); in pickChannelMask()
208 cnlCount = audio_channel_count_from_out_mask(channelMasks[i]); in pickChannelMask()
210 if ((cnlCount < channelCount) && (cnlCount > 0)) { in pickChannelMask()
212 channelCount = cnlCount; in pickChannelMask()
225 uint32_t cnlCount; in pickChannelMask() local
227 cnlCount = audio_channel_count_from_in_mask(channelMasks[i]); in pickChannelMask()
229 cnlCount = audio_channel_count_from_out_mask(channelMasks[i]); in pickChannelMask()
231 if ((cnlCount > channelCount) && (cnlCount <= maxCount)) { in pickChannelMask()
233 channelCount = cnlCount; in pickChannelMask()