ASCII-GFX
2.0
|
Functions | |
unsigned int | hash_func (const char *s) |
bool | sound_init () |
init SDL More... | |
bool | sound_detected () |
sound detected More... | |
void | configure_sound (bool yes) |
enable or disable all sound channels More... | |
int | sound_play (const char *filename, float volume, const char *altpath) |
play WAV file with SDL More... | |
bool | sound_playing (int channel) |
check if a sound channel is still playing More... | |
void | sound_stop (int channel) |
stop playing a sound channel More... | |
void | sound_mute (bool yes) |
mute all sound channels More... | |
void | sound_exit () |
exit SDL More... | |
void configure_sound | ( | bool | yes | ) |
enable or disable all sound channels
unsigned int hash_func | ( | const char * | s | ) |
bool sound_detected | ( | ) |
sound detected
void sound_exit | ( | ) |
exit SDL
bool sound_init | ( | ) |
init SDL
void sound_mute | ( | bool | yes | ) |
mute all sound channels
int sound_play | ( | const char * | filename, |
float | volume = 1 , |
||
const char * | altpath = NULL |
||
) |
play WAV file with SDL
bool sound_playing | ( | int | channel | ) |
check if a sound channel is still playing
void sound_stop | ( | int | channel = -1 | ) |
stop playing a sound channel