Version

    Other Documentation

menu_open
Wwise SDK 2018.1.11

◆ GetDefaultPlatformInitSettings()

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

Gets 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

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise