Version

    Autre 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

Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise