Wwise SDK 2022.1.8
|Note: Before initializing the sound engine itself, the memory manager and streaming manager must be initialized. Please refer to the section Initializing Sound Engine Modules for more information about global initialization.|
The AK::SoundEngine::Init function takes 2 parameters.
First parameter : AkInitSettings * in_pSettings
Second parameter : AkPlatformInitSettings * in_pPlatformSettings
|Caution: Both parameters are considered optional, but we recommend you customize these values to the needs of the game, because some of the default values may cause unnecessarily high memory usage. Refer to the section Fixed-size allocations for more information.|
Initializing the structure using these two functions fills the structures with the default parameters. This is useful because:
The following sample code demonstrates how to initialize the sound engine with default parameters, while customizing a single parameter value.
For more information on adjusting memory sizes, refer to Fixed-size allocations.