Class AudioManager
Defined in File AudioManager.hpp
Class Documentation
-
class AudioManager
Audio system manager singleton.
Public Functions
-
void Initialize()
Initialize the audio system.
Note
This function is called by the engine during startup
- Throws:
BadInitStateException – If the system was already initialized
-
void Terminate()
Terminate the audio system.
Note
This function is called by the engine during shutdown
- Throws:
BadInitStateException – If the system was not initialized
-
bool IsInitialized()
Check if the system is initialized.
- Returns:
Whether the audio system is initialized
Public Static Functions
-
static AudioManager &Get()
Get the instance and create one if there isn’t one.
- Returns:
The instance
-
void Initialize()