|
ASCII-GFX
2.0
|
#include <stdlib.h>
Go to the source code of this file.
Functions | |
| 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=1, const char *altpath=NULL) |
| 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=-1) |
| stop playing a sound channel More... | |
| void | sound_mute (bool yes=true) |
| mute all sound channels More... | |
| void | sound_exit () |
| exit SDL More... | |
| void configure_sound | ( | bool | yes | ) |
enable or disable all sound channels
| bool sound_detected | ( | ) |
sound detected
| void sound_exit | ( | ) |
exit SDL
| bool sound_init | ( | ) |
init SDL
| void sound_mute | ( | bool | yes = true | ) |
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
1.8.17