pub fn init(init_settings: AkMusicSettings) -> Result<(), AkResult>
Expand description

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 sound_engine::init and this call. Any call done in between is potentially unsafe.

Return AkResult::AK_Success if the Init was successful, AkResult::AK_Fail otherwise.