Wwise SDK 2025.1.0
|
◆ AK_CommandBuffer_Create()
Allocates and initializes a new command buffer with the specified size using the Wwise SDK's memory manager. The buffer is guaranteed to be aligned on 4 bytes. It is allocated using Use AK_CommandBuffer_MinSize and AK_CommandBuffer_CmdSize to determine how much space to allocate for the planned buffer. The buffer returned by this function MUST be freed using AK_CommandBuffer_Destroy. This function will return NULL under the following error conditions:
|