Version

menu_open
Wwise SDK 2021.1.14

◆ 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_pAllocator Memory allocator.
in_szName Null-terminated string to allocate and store on this object.

Definition at line 381 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