Table des matières

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