#include <GT2004SoundControl.h>
Inheritance diagram for GT2004SoundControl:
Public Member Functions | |
GT2004SoundControl (const SoundControlInterfaces &interfaces) | |
Constructor. | |
virtual | ~GT2004SoundControl () |
Destructor. | |
virtual void | execute () |
executes the module | |
Public Attributes | |
bool | playingWave |
Protected Member Functions | |
bool | loadWavefile (const char *filename, int index) |
bool | checkWaveHeader (const char *filename, int index) |
void | playWave (SoundData *soundData, int index) |
void | fillWaveBuffer (SoundData *soundData, int index) |
Protected Attributes | |
char * | waveData [SoundRequest::numOfSoundIDs] |
char | waveHeader [100] |
unsigned long | actWavePosition |
unsigned long | startWavePosition [SoundRequest::numOfSoundIDs] |
unsigned long | waveLength [SoundRequest::numOfSoundIDs] |
unsigned long | lastTransmittedMessageTimestamp |
SoundRequest::SoundID | lastSound |
Definition at line 22 of file GT2004SoundControl.h.
|
Constructor.
Definition at line 14 of file GT2004SoundControl.cpp. References actWavePosition, SoundRequest::getSoundIDName(), lastSound, loadWavefile(), playingWave, waveData, and waveLength. |
Here is the call graph for this function:
|
Destructor.
Definition at line 37 of file GT2004SoundControl.cpp. References waveData. |
|
executes the module
Implements Module. Definition at line 44 of file GT2004SoundControl.cpp. References fillWaveBuffer(), lastSound, playingWave, playWave(), and SoundRequest::soundID. |
Here is the call graph for this function:
|
Definition at line 75 of file GT2004SoundControl.cpp. References checkWaveHeader(), InFile::exists(), idText, OUTPUT, InStream< InFile, InBinary >::read(), startWavePosition, waveData, and waveLength. Referenced by GT2004SoundControl(). |
Here is the call graph for this function:
|
Definition at line 96 of file GT2004SoundControl.cpp. References idText, OUTPUT, InStream< InFile, InBinary >::read(), startWavePosition, waveHeader, and waveLength. Referenced by loadWavefile(). |
Here is the call graph for this function:
|
Definition at line 63 of file GT2004SoundControl.cpp. References actWavePosition, fillWaveBuffer(), SoundData::isInUse, playingWave, startWavePosition, and waveData. Referenced by execute(). |
Here is the call graph for this function:
|
Definition at line 164 of file GT2004SoundControl.cpp. References actWavePosition, SoundData::isInUse, SoundData::pcmBuffer, playingWave, waveData, and waveLength. Referenced by execute(), and playWave(). |
|
Definition at line 35 of file GT2004SoundControl.h. Referenced by execute(), fillWaveBuffer(), GT2004SoundControl(), and playWave(). |
|
Definition at line 43 of file GT2004SoundControl.h. Referenced by fillWaveBuffer(), GT2004SoundControl(), loadWavefile(), playWave(), and ~GT2004SoundControl(). |
|
Definition at line 44 of file GT2004SoundControl.h. Referenced by checkWaveHeader(). |
|
Definition at line 45 of file GT2004SoundControl.h. Referenced by fillWaveBuffer(), GT2004SoundControl(), and playWave(). |
|
Definition at line 46 of file GT2004SoundControl.h. Referenced by checkWaveHeader(), loadWavefile(), and playWave(). |
|
Definition at line 47 of file GT2004SoundControl.h. Referenced by checkWaveHeader(), fillWaveBuffer(), GT2004SoundControl(), and loadWavefile(). |
|
Definition at line 49 of file GT2004SoundControl.h. |
|
Definition at line 51 of file GT2004SoundControl.h. Referenced by execute(), and GT2004SoundControl(). |