#include <Sound.h>
List of all members.
Public Types |
enum | FlagEnum {
AMBIENT = 0x0000,
LOCALIZED = 0x0001,
LOC_3D = 0x0002,
MEMORY = 0x0000,
STREAMED = 0x0004,
ONCE = 0x0000,
LOOP = 0x0008,
FREE = 0x0000,
LOCKED = 0x0010,
DOPPLER = 0x0020,
INTERFACE = 0x0040,
OGGVORBIS = 0x4000,
RESOURCE = 0x8000
} |
enum | StatusEnum {
UNINITIALIZED,
INITIALIZING,
READY,
PLAYING,
DONE
} |
Detailed Description
Definition at line 29 of file Sound.h.
Member Enumeration Documentation
- Enumerator:
AMBIENT |
|
LOCALIZED |
|
LOC_3D |
|
MEMORY |
|
STREAMED |
|
ONCE |
|
LOOP |
|
FREE |
|
LOCKED |
|
DOPPLER |
|
INTERFACE |
|
OGGVORBIS |
|
RESOURCE |
|
Definition at line 47 of file Sound.h.
- Enumerator:
UNINITIALIZED |
|
INITIALIZING |
|
READY |
|
PLAYING |
|
DONE |
|
Definition at line 62 of file Sound.h.
Constructor & Destructor Documentation
Member Function Documentation
void Sound::AddToSoundCard |
( |
| ) |
|
|
virtual |
Sound * Sound::Create |
( |
DWORD |
flags, |
|
|
LPWAVEFORMATEX |
format |
|
) |
| |
|
static |
Sound * Sound::Create |
( |
DWORD |
flags, |
|
|
LPWAVEFORMATEX |
format, |
|
|
DWORD |
len, |
|
|
LPBYTE |
data |
|
) |
| |
|
static |
Sound * Sound::CreateOggStream |
( |
const char * |
filename | ) |
|
|
static |
Sound * Sound::CreateStream |
( |
const char * |
filename | ) |
|
|
static |
virtual Sound* Sound::Duplicate |
( |
| ) |
|
|
inlinevirtual |
const char* Sound::GetFilename |
( |
| ) |
const |
|
inline |
virtual DWORD Sound::GetFlags |
( |
| ) |
const |
|
inlinevirtual |
virtual const Vec3& Sound::GetLocation |
( |
| ) |
const |
|
inlinevirtual |
virtual float Sound::GetMaxDistance |
( |
| ) |
const |
|
inlinevirtual |
virtual float Sound::GetMinDistance |
( |
| ) |
const |
|
inlinevirtual |
virtual long Sound::GetPan |
( |
| ) |
const |
|
inlinevirtual |
virtual DWORD Sound::GetStatus |
( |
| ) |
const |
|
inlinevirtual |
virtual double Sound::GetTimeElapsed |
( |
| ) |
const |
|
inlinevirtual |
virtual double Sound::GetTimeRemaining |
( |
| ) |
const |
|
inlinevirtual |
virtual double Sound::GetTotalTime |
( |
| ) |
const |
|
inlinevirtual |
virtual const Vec3& Sound::GetVelocity |
( |
| ) |
const |
|
inlinevirtual |
virtual long Sound::GetVolume |
( |
| ) |
const |
|
inlinevirtual |
int Sound::IsDone |
( |
| ) |
const |
|
inline |
int Sound::IsPlaying |
( |
| ) |
const |
|
inline |
int Sound::IsReady |
( |
| ) |
const |
|
inline |
virtual HRESULT Sound::Load |
( |
DWORD |
bytes, |
|
|
BYTE * |
data |
|
) |
| |
|
inlinevirtual |
int Sound::LoopCount |
( |
| ) |
const |
|
inline |
int Sound::operator== |
( |
const Sound & |
rhs | ) |
const |
|
inline |
virtual HRESULT Sound::Pause |
( |
| ) |
|
|
inlinevirtual |
virtual HRESULT Sound::Play |
( |
| ) |
|
|
inlinevirtual |
virtual HRESULT Sound::Rewind |
( |
| ) |
|
|
inlinevirtual |
void Sound::SetFilename |
( |
const char * |
s | ) |
|
virtual void Sound::SetFlags |
( |
DWORD |
f | ) |
|
|
inlinevirtual |
void Sound::SetListener |
( |
const Camera & |
cam, |
|
|
const Vec3 & |
vel |
|
) |
| |
|
static |
virtual void Sound::SetLocation |
( |
const Vec3 & |
l | ) |
|
|
inlinevirtual |
virtual void Sound::SetMaxDistance |
( |
float |
f | ) |
|
|
inlinevirtual |
virtual void Sound::SetMinDistance |
( |
float |
f | ) |
|
|
inlinevirtual |
virtual void Sound::SetPan |
( |
long |
p | ) |
|
|
inlinevirtual |
virtual void Sound::SetSoundCheck |
( |
SoundCheck * |
s | ) |
|
|
inlinevirtual |
virtual void Sound::SetVelocity |
( |
const Vec3 & |
v | ) |
|
|
inlinevirtual |
virtual void Sound::SetVolume |
( |
long |
v | ) |
|
|
inlinevirtual |
virtual HRESULT Sound::Stop |
( |
| ) |
|
|
inlinevirtual |
virtual HRESULT Sound::StreamFile |
( |
const char * |
name, |
|
|
DWORD |
offset |
|
) |
| |
|
inlinevirtual |
static const char* Sound::TYPENAME |
( |
| ) |
|
|
inlinestatic |
virtual void Sound::Update |
( |
| ) |
|
|
inlinevirtual |
static void Sound::UseSoundCard |
( |
SoundCard * |
s | ) |
|
|
inlinestatic |
Member Data Documentation
The documentation for this class was generated from the following files: