#include <Soundbank.h>
Public Member Functions | |
| ~Soundbank () | |
| Destructor. | |
| void | loadSound (const char *pathname) |
| load sound | |
| void | playSound (int id) const |
| play sound. The id of a sound is defined by order of loading (first sound id = 0) | |
| bool | isPlayingSound (int id) |
| test if the sound is loaded | |
| void | showConsole (void) |
| show all loaded sounds in the console | |
| void | freeAll (void) |
| remove all sounds | |
Friends | |
| void | initIrrsimple (void) |
| init all - first function to call before calling the others | |
|
|
Destructor.
|
|
|
remove all sounds
|
|
|
test if the sound is loaded
|
|
|
load sound
|
|
|
play sound. The id of a sound is defined by order of loading (first sound id = 0)
|
|
|
show all loaded sounds in the console
|
|
|
init all - first function to call before calling the others
|
1.4.6-NO