69 int8_t
play(std::string file_name, uint16_t
id);
SoundState
Sound activity state.
Definition SoundControl.h:29
@ STOP
Definition SoundControl.h:31
@ PLAY
Definition SoundControl.h:32
@ SET
Definition SoundControl.h:30
Event registration helpers for the sound subsystem.
Definition SoundControl.h:36
int8_t setVolume(uint8_t volume)
Set playback volume as a percentage.
SoundState getState()
Get current sound playback state.
bool isActive()
Check whether the sound subsystem is active (initialized).
float getVersion()
Get current library version.
int8_t dispose()
Dispose/stop the sound subsystem and release resources.
int8_t init()
Initialize sound control.
void Abort()
Abort the currently playing sound (if any).
int8_t play(std::string file_name, uint16_t id)
Start playing a sound file (non-blocking).