Advanced Strategic Command
Classes | Functions | Variables
sound.cpp File Reference
#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. More...
 

Function Documentation

pair<Sound_Sample*, Mix_Chunk*> loadWave ( const ASCString name)

Variable Documentation

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().