Version

menu_open
Warning: you were redirected to the latest documentation corresponding to your major release ( 2023.1.8.8601 ). Should you wish to access your specific version's documentation, please download the offline documentation from the Audiokinetic Launcher and check the Offline Documentation option in Wwise Authoring.
Wwise SDK 2023.1.8

◆ Init()

AKSOUNDENGINE_API AKRESULT AK::MusicEngine::Init ( AkMusicSettings in_pSettings)

Initialize the music engine.

Warning
This function must be called after the base sound engine has been properly initialized. There should be no AK API call between AK::SoundEngine::Init() and this call. Any call done in between is potentially unsafe.
Returns
AK_Success if the Init was successful, AK_Fail otherwise.
See also
Parameters
in_pSettingsInitialization settings (can be NULL, to use the default values)

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