#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.
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. | |
|
|
Definition at line 304 of file sound.cpp. References Sound_Sample::buffer, Sound_Sample::buffer_size, Sound_AudioInfo::channels, displayLogMessage(), errorMessage(), exist(), Sound_AudioInfo::format, Sound_AudioInfo::rate, tnstream::reading, SDL_RWFromStream(), Sound_DecodeAll(), Sound_GetError(), Sound_NewSample(), and warning(). Referenced by Sound::Sound(). |
|
|
How long should this process sleep while waiting for a sound to play.
Definition at line 32 of file sound.cpp. Referenced by Sound::playWait(). |
1.4.2