menu
 
版本
2016.2.6.6153

2024.1.5.8803

2023.1.13.8732

2022.1.19.8584

2021.1.14.8108

2019.2.15.7667

2019.1.11.7296

2018.1.11.6987

2017.2.10.6745

2017.1.9.6501

2016.2.6.6153

2015.1.9.5624


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 之旅