#include <SoundPlayer.h>
Collaboration diagram for gedi::SoundPlayer:
Public Member Functions | |
SoundPlayer (void) | |
~SoundPlayer (void) | |
gedi::Error32 | Init (HWND hWindow) |
LPDIRECTSOUND8 | GetSound (void) |
Static Public Member Functions | |
static SoundPlayer * | GetSingleton (void) |
gedi::SoundPlayer::SoundPlayer | ( | void | ) |
Constructors
gedi::SoundPlayer::~SoundPlayer | ( | void | ) |
Destructor
gedi::Error32 gedi::SoundPlayer::Init | ( | HWND | hWindow | ) |
Initializes the sound player.
hWindow | Window handle |
LPDIRECTSOUND8 gedi::SoundPlayer::GetSound | ( | void | ) |
Get the DirectX sound object
gedi::SoundPlayer * gedi::SoundPlayer::GetSingleton | ( | void | ) | [static] |
Gets a sound player