Searched refs:channelMask (Results 1 – 3 of 3) sorted by relevance
21 void Balance::setChannelMask(audio_channel_mask_t channelMask) in setChannelMask() argument23 channelMask &= ~ AUDIO_CHANNEL_HAPTIC_ALL; in setChannelMask()24 if (!audio_is_output_channel(channelMask) // invalid mask in setChannelMask()25 || mChannelMask == channelMask) { // no need to do anything in setChannelMask()29 mChannelMask = channelMask; in setChannelMask()30 mChannelCount = audio_channel_count_from_out_mask(channelMask); in setChannelMask()83 for (unsigned i = 0, channel = channelMask; channel != 0; ++i) { in setChannelMask()
82 void setChannelMask(audio_channel_mask_t channelMask);
986 static inline bool audio_channel_position_mask_is_out_canonical(audio_channel_mask_t channelMask) in audio_channel_position_mask_is_out_canonical() argument988 if (audio_channel_mask_get_representation(channelMask) in audio_channel_position_mask_is_out_canonical()993 channelMask & ~AUDIO_CHANNEL_HAPTIC_ALL); in audio_channel_position_mask_is_out_canonical()995 channelMask & AUDIO_CHANNEL_HAPTIC_ALL); in audio_channel_position_mask_is_out_canonical()996 return channelMask == (audio_channel_out_mask_from_count(audioChannelCount) | in audio_channel_position_mask_is_out_canonical()