Version

menu_open
Warning: you were redirected to the latest documentation corresponding to your major release ( 2024.1.1.8691 ). 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 2024.1.1

◆ 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 196 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