arrow_right Table of Contents

Other Documentation

Wwise SDK 2021.1.8

◆ PostCode()

AKSOUNDENGINE_API AKRESULT AK::Monitor::PostCode ( ErrorCode  in_eError,
ErrorLevel  in_eErrorLevel,
AkPlayingID  in_playingID = AK_INVALID_PLAYING_ID,
AkGameObjectID  in_gameObjID = AK_INVALID_GAME_OBJECT,
AkUniqueID  in_audioNodeID = AK_INVALID_UNIQUE_ID,
bool  in_bIsBus = false 

Post a monitoring message or error code. This will be displayed in the Wwise capture log.

AK_Success if successful, AK_Fail if there was a problem posting the message. In optimized mode, this function returns AK_NotCompatible.
This function is provided as a tracking tool only. It does nothing if it is called in the optimized/release configuration and return AK_NotCompatible.
in_eError Message or error code to be displayed
in_eErrorLevel Specifies whether it should be displayed as a message or an error
in_playingID Related Playing ID if applicable
in_gameObjID Related Game Object ID if applicable, AK_INVALID_GAME_OBJECT otherwise
in_audioNodeID Related Audio Node ID if applicable, AK_INVALID_UNIQUE_ID otherwise
in_bIsBus true if in_audioNodeID is a bus