Skip to main content

install

Function install 

Source
pub fn install() -> AudioPlayerRef
Expand description

Creates an engine and installs it as the platform audio player.

Call once at startup, on the thread that runs the composition. The output device opens on the first sound, not here and not when clips are loaded, so installing the engine in an app that never plays anything costs nothing.