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.cpp128 uint32_t cnlCount; in pickChannelMask() local
130 cnlCount = audio_channel_count_from_in_mask(channelMask); in pickChannelMask()
132 cnlCount = audio_channel_count_from_out_mask(channelMask); in pickChannelMask()
134 if ((cnlCount < channelCount) && (cnlCount > 0)) { in pickChannelMask()
136 channelCount = cnlCount; in pickChannelMask()
149 uint32_t cnlCount; in pickChannelMask() local
151 cnlCount = audio_channel_count_from_in_mask(channelMask); in pickChannelMask()
153 cnlCount = audio_channel_count_from_out_mask(channelMask); in pickChannelMask()
155 if ((cnlCount > channelCount) && (cnlCount <= maxCount)) { in pickChannelMask()
157 channelCount = cnlCount; in pickChannelMask()