Skip to content

Getting Started \ Initialization

SirusDoma edited this page Sep 11, 2018 · 1 revision

Initialization

The SoundSystem engine is initialized on the fly, you don't even have to initialize the engine manually, the engine will pick default audio device and configure specific hardware dependent configuration.

SoundSystem is a singleton class, you can retrieve singleton instance by accessing SoundSystem.Instance property, make sure that this instance live throughout the program lifecycle or at least until the audio is no longer required in the program.

You will NOT be able to reinitialize the SoundSystem, so make sure not to dispose them unless you're exiting your program or audio is no longer required.