CVoice Class¶
Overview¶
Note
The CVoice class handles
The structure used for this class is CVoice
Quick Reference¶
Quick Ref |
void CVoice::CVoice() |
virtual void CVoice::~CVoice() |
int CVoice::GetChannel() |
int CVoice::GetLooping() |
int CVoice::GetPriority() |
CSound* CVoice::GetSound() |
int CVoice::IsSoundPlaying(unsigned char bInSoundUpdate) |
int CVoice::ResetVolume() |
void CVoice::SetBuffer(unsigned int buffer) |
void CVoice::SetDuckedOthers(bool b) |
void CVoice::SetSound(CSound* pSound) |
int CVoice::Stop() |
Constructors¶
Name |
Description |
Constructs a |
|
Destroys a |
CVoice::CVoice¶
Constructs a CVoice
object
void CVoice::CVoice();
Remarks
Constructs a CVoice
object
CVoice::~CVoice¶
Destroys the CVoice
object
virtual void CVoice::~CVoice();
Remarks
Destroys the CVoice
object
Methods¶
Name |
Description |
CVoice::GetChannel¶
int CVoice::GetChannel();
Return Value
Returns int
Remarks
CVoice::GetLooping¶
int CVoice::GetLooping();
Return Value
Returns int
Remarks
CVoice::GetPriority¶
int CVoice::GetPriority();
Return Value
Returns int
Remarks
CVoice::GetSound¶
CSound* CVoice::GetSound();
Return Value
Returns CSound*
Remarks
CVoice::IsSoundPlaying¶
int CVoice::IsSoundPlaying(unsigned char bInSoundUpdate);
Parameters
unsigned char
bInSoundUpdate -
Return Value
Returns int
Remarks
CVoice::ResetVolume¶
int CVoice::ResetVolume();
Return Value
Returns int
Remarks
CVoice::SetBuffer¶
void CVoice::SetBuffer(unsigned int buffer);
Parameters
unsigned int
buffer -
Remarks
CVoice::SetDuckedOthers¶
void CVoice::SetDuckedOthers(bool b);
Parameters
bool
b -
Remarks
CVoice::SetSound¶
void CVoice::SetSound(CSound* pSound);
Parameters
CSound* pSound -
Remarks
CVoice::Stop¶
int CVoice::Stop();
Return Value
Returns int
Remarks