Version

menu_open
Wwise SDK 2023.1.2

◆ GetNumNonZeroBits()

AkForceInline AkUInt32 AK::GetNumNonZeroBits ( AkUInt32  in_uWord)

Count non-zero bits, e.g. to count # of channels in a channelmask

Returns
Number of channels.

Definition at line 181 of file AkBitFuncs.h.

References AKPLATFORM::AkPopCount().

Referenced by AkAudioBuffer::StandardToPipelineIndex().


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise