版本

    其他文档

menu_open
void __cdecl AK::SoundEngine::GetDefaultPlatformInitSettings ( AkPlatformInitSettings out_platformSettings  ) 

Get the default values of the platform-specific initialization settings.

Windows Specific: When initializing for Windows platform, the HWND value returned in the AkPlatformInitSettings structure is the foreground HWND at the moment of the initialization of the sound engine and may not be the correct one for your need. Each game must specify the HWND that will be passed to DirectSound initialization. It is required that each game provides the correct HWND to be used or it could cause one of the following problem:

  • Random Sound engine initialization failure.
  • Audio focus to be located on the wrong window.
Warning:
This function is not thread-safe.
See also:
Parameters:
out_platformSettings  Returned default platform-specific sound engine settings

此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅