Function rrise::sound_engine::init

source ·
pub fn init(
    init_settings: &mut AkInitSettings,
    platform_init_settings: &mut AkPlatformInitSettings
) -> Result<(), AkResult>
Expand description

Initialize the sound engine.

Warning This function is not thread-safe.

Remark The initial settings should be initialized using AkInitSettings::default and AkPlatformInitSettings::default to fill the structures with their default settings. This is not mandatory, but it helps avoid backward compatibility problems.

Return

See also