版本

menu_open

Monitoring Errors

Most of the SDK functions will return error code when something wrong happens. The Sound Engine, however, runs on its own thread, so it is possible that errors may occur without receiving a direct notification.

There are several different ways to detect errors in the Sound Engine. You can do any of the following:

  • Check error code returned by functions in the SDK.
  • Validate the error code that is sent in a callback specified on the sync call. This only applies when using asynchronous functions.
  • Call the function AK::Monitor::SetLocalOutput() to Enable/Disable local output of monitoring messages and errors.
  • Connect the Wwise authoring application to the game using either the DEBUG or PROFILE setups. Before doing so, make sure communications are properly initialized: Initializing Communications
  • Monitor messages posted by the game using the functions AK::Monitor::PostString() and AK::Monitor::PostCode().

此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅