carb::audio::getSetBitCount

Defined in carb/audio/AudioUtils.h

template<typename T>
size_t carb::audio::getSetBitCount(T value_)

counts the number of set bits in a bit flag set.

Parameters

value_[in] the value to count set bits in.

Returns

the number of set bits in the given value.