Home
last modified time | relevance | path

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

/system/media/audio_utils/
DBalance.cpp21 void Balance::setChannelMask(audio_channel_mask_t channelMask) in setChannelMask() argument
24 channelMask = static_cast<audio_channel_mask_t>(channelMask & ~AUDIO_CHANNEL_HAPTIC_ALL); in setChannelMask()
25 if (!audio_is_output_channel(channelMask) // invalid mask in setChannelMask()
26 || mChannelMask == channelMask) { // no need to do anything in setChannelMask()
30 mChannelMask = channelMask; in setChannelMask()
31 mChannelCount = audio_channel_count_from_out_mask(channelMask); in setChannelMask()
58 for (unsigned i = 0, channel = channelMask; channel != 0; ++i) { in setChannelMask()
/system/media/audio_utils/tests/
Dbalance_tests.cpp84 for (auto channelMask : { in TEST()
88 balance.setChannelMask((audio_channel_mask_t)channelMask); in TEST()
/system/media/audio_utils/include/audio_utils/
DBalance.h90 void setChannelMask(audio_channel_mask_t channelMask);
/system/media/audio/include/system/
Daudio.h1652 static inline bool audio_channel_position_mask_is_out_canonical(audio_channel_mask_t channelMask) in audio_channel_position_mask_is_out_canonical() argument
1654 if (audio_channel_mask_get_representation(channelMask) in audio_channel_position_mask_is_out_canonical()
1659 (audio_channel_mask_t)(channelMask & ~AUDIO_CHANNEL_HAPTIC_ALL)); in audio_channel_position_mask_is_out_canonical()
1661 (audio_channel_mask_t)(channelMask & AUDIO_CHANNEL_HAPTIC_ALL)); in audio_channel_position_mask_is_out_canonical()
1662 return channelMask == (audio_channel_mask_t)( in audio_channel_position_mask_is_out_canonical()