Version

menu_open
Warning: you were redirected to the latest documentation corresponding to your major release ( 2023.1.4.8496 ). Should you wish to access your specific version's documentation, please download the offline documentation from the Audiokinetic Launcher and check the Offline Documentation option in Wwise Authoring.
Wwise SDK 2023.1.4

◆ 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