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.cpp197 uint32_t cnlCount; in pickChannelMask() local
199 cnlCount = audio_channel_count_from_in_mask(channelMasks[i]); in pickChannelMask()
201 cnlCount = audio_channel_count_from_out_mask(channelMasks[i]); in pickChannelMask()
203 if ((cnlCount < channelCount) && (cnlCount > 0)) { in pickChannelMask()
205 channelCount = cnlCount; in pickChannelMask()
218 uint32_t cnlCount; in pickChannelMask() local
220 cnlCount = audio_channel_count_from_in_mask(channelMasks[i]); in pickChannelMask()
222 cnlCount = audio_channel_count_from_out_mask(channelMasks[i]); in pickChannelMask()
224 if ((cnlCount > channelCount) && (cnlCount <= maxCount)) { in pickChannelMask()
226 channelCount = cnlCount; in pickChannelMask()