CSound Class Reference

#include <Sound.h>

List of all members.

Public Member Functions

 CSound (void)
 ~CSound (void)
void loadSound (char *file)
void loadSound (char *file, char *soundName)
void loadStream (char *file)
void loadStream (char *file, char *soundName)
void play (int index)
void play (char *soundName)
void setMode (FMOD_MODE mode, int index)
void setMode (FMOD_MODE mode, char *soundName)
void restart ()

Static Public Member Functions

static CSoundGetSingleton (void)
static void Destroy (void)

Protected Member Functions

int getIndex (char *name)

Static Protected Member Functions

static void ERRCHECK (FMOD_RESULT result)

Static Private Member Functions

static void initFMOD ()

Private Attributes

char * soundNames [MAX_SOUNDS]
int currentSounds
FMOD::System * system
FMOD::Sound * sound [MAX_SOUNDS]
FMOD::Channel * channel [MAX_SOUNDS]
FMOD_RESULT result
int key
unsigned int version

Static Private Attributes

static CSoundm_Singleton = 0


Constructor & Destructor Documentation

CSound::CSound void   ) 
 

CSound::~CSound void   ) 
 


Member Function Documentation

void CSound::Destroy void   )  [static]
 

void CSound::ERRCHECK FMOD_RESULT  result  )  [static, protected]
 

int CSound::getIndex char *  name  )  [protected]
 

CSound & CSound::GetSingleton void   )  [static]
 

void CSound::initFMOD  )  [static, private]
 

void CSound::loadSound char *  file,
char *  soundName
 

void CSound::loadSound char *  file  ) 
 

void CSound::loadStream char *  file,
char *  soundName
 

void CSound::loadStream char *  file  ) 
 

void CSound::play char *  soundName  ) 
 

void CSound::play int  index  ) 
 

void CSound::restart  ) 
 

void CSound::setMode FMOD_MODE  mode,
char *  soundName
 

void CSound::setMode FMOD_MODE  mode,
int  index
 


Member Data Documentation

FMOD::Channel* CSound::channel[MAX_SOUNDS] [private]
 

int CSound::currentSounds [private]
 

int CSound::key [private]
 

CSound * CSound::m_Singleton = 0 [static, private]
 

FMOD_RESULT CSound::result [private]
 

FMOD::Sound* CSound::sound[MAX_SOUNDS] [private]
 

char* CSound::soundNames[MAX_SOUNDS] [private]
 

FMOD::System* CSound::system [private]
 

unsigned int CSound::version [private]
 


The documentation for this class was generated from the following files:
Generated on Sun Jan 22 16:23:51 2006 for Inside Time by  doxygen 1.4.5