Version

menu_open
Wwise SDK 2022.1.17

◆ 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. Since this function doesn't send variable arguments, be sure that the error code you're posting doesn't contain any tag. Otherwise, there'll be an undefined behavior

Returns
AK_Success if successful, AK_Fail if there was a problem posting the message. In optimized mode, this function returns AK_NotCompatible.
Remarks
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.
Parameters
in_eErrorMessage or error code to be displayed
in_eErrorLevelSpecifies whether it should be displayed as a message or an error
in_playingIDRelated Playing ID if applicable
in_gameObjIDRelated Game Object ID if applicable, AK_INVALID_GAME_OBJECT otherwise
in_audioNodeIDRelated Audio Node ID if applicable, AK_INVALID_UNIQUE_ID otherwise
in_bIsBustrue if in_audioNodeID is a bus

Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise