Function init
pub fn init(flags: InitFlag) -> Result<Sdl2MixerContext, String> ⓘ
Available on crate feature
dep_sdl2
only.Expand description
Loads dynamic libraries and prepares them for use. Flags should be
one or more flags from InitFlag
.