Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

RageSound_DSound Class Reference

#include <RageSoundDriver_DSound.h>

Inheritance diagram for RageSound_DSound:

Inheritance graph
[legend]
Collaboration diagram for RageSound_DSound:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RageSound_DSound ()
 ~RageSound_DSound ()
CString Init ()

Private Member Functions

void MixerThread ()
void StartMixing (RageSoundBase *snd)
void StopMixing (RageSoundBase *snd)
int64_t GetPosition (const RageSoundBase *snd) const
void Update (float delta)
int GetSampleRate (int rate) const

Static Private Member Functions

int MixerThread_start (void *p)

Private Attributes

RageMutex m_InactiveSoundMutex
vector< stream * > stream_pool
DSound ds
RageMutex m_Mutex
bool shutdown
RageThread MixingThread

Constructor & Destructor Documentation

RageSound_DSound::RageSound_DSound  ) 
 

RageSound_DSound::~RageSound_DSound  ) 
 


Member Function Documentation

int64_t RageSound_DSound::GetPosition const RageSoundBase snd  )  const [private, virtual]
 

Implements RageSoundDriver.

int RageSound_DSound::GetSampleRate int  rate  )  const [inline, private, virtual]
 

Reimplemented from RageSoundDriver.

CString RageSound_DSound::Init  )  [virtual]
 

Reimplemented from RageSoundDriver.

void RageSound_DSound::MixerThread  )  [private]
 

int RageSound_DSound::MixerThread_start void *  p  )  [static, private]
 

void RageSound_DSound::StartMixing RageSoundBase snd  )  [private, virtual]
 

Implements RageSoundDriver.

void RageSound_DSound::StopMixing RageSoundBase snd  )  [private, virtual]
 

Implements RageSoundDriver.

void RageSound_DSound::Update float  delta  )  [private, virtual]
 

Reimplemented from RageSoundDriver.


Member Data Documentation

DSound RageSound_DSound::ds [private]
 

RageMutex RageSound_DSound::m_InactiveSoundMutex [private]
 

RageMutex RageSound_DSound::m_Mutex [private]
 

RageThread RageSound_DSound::MixingThread [private]
 

bool RageSound_DSound::shutdown [private]
 

vector<stream *> RageSound_DSound::stream_pool [private]
 


The documentation for this class was generated from the following files:
Generated on Thu Jan 27 21:01:34 2005 for StepMania by doxygen 1.3.7