Starshatter_Open
Open source Starshatter engine
|
#include <SoundD3D.h>
Public Member Functions | |
SoundCardD3D (HWND hwnd) | |
virtual | ~SoundCardD3D () |
virtual bool | GetFormat (LPWAVEFORMATEX format) |
virtual bool | SetFormat (LPWAVEFORMATEX format) |
virtual bool | SetFormat (int bits, int channels, int hertz) |
virtual void | ShowFormat () |
virtual Sound * | CreateSound (DWORD flags, LPWAVEFORMATEX format) |
virtual Sound * | CreateSound (DWORD flags, LPWAVEFORMATEX format, DWORD len, LPBYTE data) |
virtual void | SetListener (const Camera &cam, const Vec3 &vel) |
virtual bool | Pause () |
virtual bool | Resume () |
virtual bool | StopSoundEffects () |
Public Member Functions inherited from SoundCard | |
SoundCard () | |
virtual | ~SoundCard () |
SoundStatus | Status () const |
virtual void | Update () |
virtual DWORD | UpdateThread () |
virtual void | AddSound (Sound *s) |
Static Public Member Functions | |
static const char * | TYPENAME () |
Protected Attributes | |
LPDIRECTSOUND | soundcard |
LPDIRECTSOUNDBUFFER | primary |
Camera | listener |
Vec3 | velocity |
WAVEFORMATEX | wfex |
DSBUFFERDESC | dsbd |
Protected Attributes inherited from SoundCard | |
bool | shutdown |
HANDLE | hthread |
SoundStatus | status |
List< Sound > | sounds |
ThreadSync | sync |
Friends | |
class | SoundD3D |
Additional Inherited Members | |
Public Types inherited from SoundCard | |
enum | SoundStatus { SC_UNINITIALIZED, SC_OK, SC_ERROR, SC_BAD_PARAM } |
Definition at line 118 of file SoundD3D.h.
SoundCardD3D::SoundCardD3D | ( | HWND | hwnd | ) |
Definition at line 46 of file SoundD3D.cpp.
|
virtual |
Definition at line 167 of file SoundD3D.cpp.
|
virtual |
Reimplemented from SoundCard.
Definition at line 258 of file SoundD3D.cpp.
|
virtual |
Reimplemented from SoundCard.
Definition at line 270 of file SoundD3D.cpp.
|
virtual |
Reimplemented from SoundCard.
Definition at line 232 of file SoundD3D.cpp.
|
virtual |
Reimplemented from SoundCard.
Definition at line 306 of file SoundD3D.cpp.
|
virtual |
Reimplemented from SoundCard.
Definition at line 324 of file SoundD3D.cpp.
|
virtual |
Reimplemented from SoundCard.
Definition at line 219 of file SoundD3D.cpp.
|
virtual |
Reimplemented from SoundCard.
Definition at line 192 of file SoundD3D.cpp.
Reimplemented from SoundCard.
Definition at line 286 of file SoundD3D.cpp.
|
virtual |
Definition at line 247 of file SoundD3D.cpp.
|
virtual |
Reimplemented from SoundCard.
Definition at line 342 of file SoundD3D.cpp.
|
inlinestatic |
Reimplemented from SoundCard.
Definition at line 123 of file SoundD3D.h.
|
friend |
Definition at line 120 of file SoundD3D.h.
|
protected |
Definition at line 158 of file SoundD3D.h.
|
protected |
Definition at line 153 of file SoundD3D.h.
|
protected |
Definition at line 148 of file SoundD3D.h.
|
protected |
Definition at line 147 of file SoundD3D.h.
|
protected |
Definition at line 154 of file SoundD3D.h.
|
protected |
Definition at line 157 of file SoundD3D.h.