#include <GT2005SoundControl.h>
Inheritance diagram for GT2005SoundControl:


Public Member Functions | |
| GT2005SoundControl (const SoundControlInterfaces &interfaces) | |
| Constructor. | |
| virtual | ~GT2005SoundControl () |
| Destructor. | |
| virtual void | execute () |
| When doing a debug build, we save the time, when we entered the module, so we can find endless loops. | |
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 GT2005SoundControl.h.
|
|
Constructor.
Definition at line 14 of file GT2005SoundControl.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 GT2005SoundControl.cpp. References waveData. |
|
|
When doing a debug build, we save the time, when we entered the module, so we can find endless loops.
Reimplemented from Module. Definition at line 44 of file GT2005SoundControl.cpp. References fillWaveBuffer(), lastSound, playingWave, playWave(), and SoundRequest::soundID. |
Here is the call graph for this function:

|
||||||||||||
|
Definition at line 75 of file GT2005SoundControl.cpp. References checkWaveHeader(), InFile::exists(), idText, OUTPUT, InStream< InFile, InBinary >::read(), startWavePosition, waveData, and waveLength. Referenced by GT2005SoundControl(). |
Here is the call graph for this function:

|
||||||||||||
|
Definition at line 96 of file GT2005SoundControl.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 GT2005SoundControl.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 GT2005SoundControl.cpp. References actWavePosition, SoundData::isInUse, SoundData::pcmBuffer, playingWave, waveData, and waveLength. Referenced by execute(), and playWave(). |
|
|
Definition at line 35 of file GT2005SoundControl.h. Referenced by execute(), fillWaveBuffer(), GT2005SoundControl(), and playWave(). |
|
|
Definition at line 43 of file GT2005SoundControl.h. Referenced by fillWaveBuffer(), GT2005SoundControl(), loadWavefile(), playWave(), and ~GT2005SoundControl(). |
|
|
Definition at line 44 of file GT2005SoundControl.h. Referenced by checkWaveHeader(). |
|
|
Definition at line 45 of file GT2005SoundControl.h. Referenced by fillWaveBuffer(), GT2005SoundControl(), and playWave(). |
|
|
Definition at line 46 of file GT2005SoundControl.h. Referenced by checkWaveHeader(), loadWavefile(), and playWave(). |
|
|
Definition at line 47 of file GT2005SoundControl.h. Referenced by checkWaveHeader(), fillWaveBuffer(), GT2005SoundControl(), and loadWavefile(). |
|
|
Definition at line 49 of file GT2005SoundControl.h. |
|
|
Definition at line 51 of file GT2005SoundControl.h. Referenced by execute(), and GT2005SoundControl(). |
1.3.6