Version

menu_open
Wwise SDK 2022.1.18

◆ SetName()

AKRESULT AkAudioObject::SetName ( AK::IAkPluginMemAlloc in_pAllocator,
const char *  in_szName 
)
inline

Object processors may give an explicit name to objects.

Returns
AK_Success if the string was allocated successfully, AK_InsufficientMemory otherwise.
Parameters
in_pAllocatorMemory allocator.
in_szNameNull-terminated string to allocate and store on this object.

Definition at line 397 of file AkCommonDefs.h.

References AkString< TAlloc, T_CHAR >::AllocCopy(), AkPluginArrayAllocator::Init(), and objectName.


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