gedi::SoundPlayer Class Reference

#include <SoundPlayer.h>

Collaboration diagram for gedi::SoundPlayer:

[legend]
List of all members.

Public Member Functions

 SoundPlayer (void)
 ~SoundPlayer (void)
gedi::Error32 Init (HWND hWindow)
LPDIRECTSOUND8 GetSound (void)

Static Public Member Functions

static SoundPlayerGetSingleton (void)

Detailed Description

This class is a singleton and initializes the sound device. It must be initialized before loading sound data for Sound and SoundBuffer objects.


Constructor & Destructor Documentation

gedi::SoundPlayer::SoundPlayer ( void   ) 

Constructors

gedi::SoundPlayer::~SoundPlayer ( void   ) 

Destructor


Member Function Documentation

gedi::Error32 gedi::SoundPlayer::Init ( HWND  hWindow  ) 

Initializes the sound player.

Parameters:
hWindow Window handle

LPDIRECTSOUND8 gedi::SoundPlayer::GetSound ( void   ) 

Get the DirectX sound object

gedi::SoundPlayer * gedi::SoundPlayer::GetSingleton ( void   )  [static]

Gets a sound player


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