Go to the documentation of this file.
20 int sound_play(
const char *filename,
float volume = 1,
21 const char *altpath = NULL);
void sound_exit()
exit SDL
Definition: sound.cpp:196
bool sound_init()
init SDL
Definition: sound.cpp:24
void sound_stop(int channel=-1)
stop playing a sound channel
Definition: sound.cpp:157
void configure_sound(bool yes)
enable or disable all sound channels
Definition: sound.cpp:70
bool sound_playing(int channel)
check if a sound channel is still playing
Definition: sound.cpp:142
void sound_mute(bool yes=true)
mute all sound channels
Definition: sound.cpp:183
int sound_play(const char *filename, float volume=1, const char *altpath=NULL)
play WAV file with SDL
Definition: sound.cpp:78
bool sound_detected()
sound detected
Definition: sound.cpp:60