#include <boost/regex.hpp>#include <cstring>#include <stdlib.h>#include <SDL.h>#include <SDL_mixer.h>#include <SDL_sound.h>#include "../global.h"#include "sound.h"#include "../basestrm.h"#include "../music.h"#include "../sgstream.h"Include dependency graph for sound.cpp:

Go to the source code of this file.
Classes | |
| class | SoundSystem_InternalData |
| class | Sound_InternalData |
Functions | |
| pair< Sound_Sample *, Mix_Chunk * > | loadWave (const ASCString &name) |
Variables | |
| const int | WAIT_SLEEP_MSEC = 50 |
| How long should this process sleep while waiting for a sound to play. | |
| pair<Sound_Sample*, Mix_Chunk*> loadWave | ( | const ASCString & | name | ) |
Definition at line 309 of file sound.cpp.
References displayLogMessage(), errorMessage(), exist(), tnstream::reading, SDL_RWFromStream(), and warningMessage().
Referenced by Sound::Sound().
| const int WAIT_SLEEP_MSEC = 50 |
How long should this process sleep while waiting for a sound to play.
Definition at line 37 of file sound.cpp.
Referenced by Sound::playWait().
1.5.1