Version

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

◆ Init()

template<typename T , T TDEFAULT, class TAlloc = ArrayPoolDefault>
AKRESULT AkFifoQueue< T, TDEFAULT, TAlloc >::Init ( AkUInt32  in_uMaxEntries)
inline

Initializes the FifoQueue and allocates memory for the specified number of entries. The number of entries is not growable after initialization.

Parameters
in_uMaxEntriesThe number of entries. Must be a power of two.

Definition at line 56 of file AkFifoQueue.h.

References AK_InsufficientMemory, AK_Success, AKASSERT, AkAtomicStore64(), and AkZeroMemLarge.


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