HoverRace  2.0
Public Member Functions | Protected Member Functions | Protected Attributes | Private Types | List of all members
HoverRace::VideoServices::ContinuousSound Class Reference
+ Inheritance diagram for HoverRace::VideoServices::ContinuousSound:

Public Member Functions

 ContinuousSound ()
 
 ~ContinuousSound ()
 
void ApplyCumCommand ()
 
void CumPlay (int pCopy, int pDB, double pSpeed)
 
virtual BOOL Init (const char *pData, int pNbCopy)
 Fill the buffer with sound data. More...
 
void Pause (int pCopy)
 
void Restart (int pCopy)
 
- Public Member Functions inherited from HoverRace::VideoServices::SoundBuffer
 SoundBuffer ()
 
virtual ~SoundBuffer ()
 
void SetParams (int pCopy, int pDB, double pSpeed, int pPan)
 

Protected Member Functions

void ResetCumStat ()
 

Protected Attributes

int mMaxDB [MR_MAX_SOUND_COPY]
 
double mMaxSpeed [MR_MAX_SOUND_COPY]
 
BOOL mOn [MR_MAX_SOUND_COPY]
 
- Protected Attributes inherited from HoverRace::VideoServices::SoundBuffer
ALuint mBuffer
 
int mNbCopy
 
int mNormalFreq
 
ALuint mSoundBuffer [MR_MAX_SOUND_COPY]
 

Private Types

typedef SoundBuffer SUPER
 

Additional Inherited Members

- Static Public Member Functions inherited from HoverRace::VideoServices::SoundBuffer
static void ApplyCumCommandForAll ()
 
static void DeleteAll ()
 

Member Typedef Documentation

Constructor & Destructor Documentation

HoverRace::VideoServices::ContinuousSound::ContinuousSound ( )
HoverRace::VideoServices::ContinuousSound::~ContinuousSound ( )

Member Function Documentation

void HoverRace::VideoServices::ContinuousSound::ApplyCumCommand ( )
virtual
void HoverRace::VideoServices::ContinuousSound::CumPlay ( int  pCopy,
int  pDB,
double  pSpeed 
)
BOOL HoverRace::VideoServices::ContinuousSound::Init ( const char *  pData,
int  pNbCopy 
)
virtual

Fill the buffer with sound data.

Parameters
pDataData buffer. First 32 bits are the data length, followed by a WAVEFORMATEX describing the data, followed by the data itself.
pNbCopyThe number of copies to make.
Returns
TRUE if successful.

Reimplemented from HoverRace::VideoServices::SoundBuffer.

void HoverRace::VideoServices::ContinuousSound::Pause ( int  pCopy)
void HoverRace::VideoServices::ContinuousSound::ResetCumStat ( )
protected
void HoverRace::VideoServices::ContinuousSound::Restart ( int  pCopy)

Member Data Documentation

int HoverRace::VideoServices::ContinuousSound::mMaxDB[MR_MAX_SOUND_COPY]
protected
double HoverRace::VideoServices::ContinuousSound::mMaxSpeed[MR_MAX_SOUND_COPY]
protected
BOOL HoverRace::VideoServices::ContinuousSound::mOn[MR_MAX_SOUND_COPY]
protected

The documentation for this class was generated from the following file: