Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DPolicyAudioPort.cpp118 uint32_t cnlCount; in pickChannelMask() local
120 cnlCount = audio_channel_count_from_in_mask(channelMask); in pickChannelMask()
122 cnlCount = audio_channel_count_from_out_mask(channelMask); in pickChannelMask()
124 if ((cnlCount < channelCount) && (cnlCount > 0)) { in pickChannelMask()
126 channelCount = cnlCount; in pickChannelMask()
139 uint32_t cnlCount; in pickChannelMask() local
141 cnlCount = audio_channel_count_from_in_mask(channelMask); in pickChannelMask()
143 cnlCount = audio_channel_count_from_out_mask(channelMask); in pickChannelMask()
145 if ((cnlCount > channelCount) && (cnlCount <= maxCount)) { in pickChannelMask()
147 channelCount = cnlCount; in pickChannelMask()