|
Wwise SDK 2025.1.3
|
When your game is ready to exit and does not require audio anymore, terminate the modules that were initialized earlier except Spatial Audio, which does not require manual termination. 我们的示例程序使用以下函数,来将所有终止代码重新组合:
终止各模块时,将按初始化的相反顺序进行。
如果通信模块已经初始化,就要首先被终止:
![]() | 注意: 在其他模块 之前先终止通信模块非常重要。 |
然后终止声音引擎本身:
接下来终止 Streaming Manager 和 Low-Level I/O:
现在 Memory Manager 的所有使用者都已终止,到了终止 Memory Manager 本身的时候了:
与声音引擎相关的一切模块都已终止,已经可以退出程序了。请继续参阅 将 Wwise 元素集成到游戏中 。