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

RageSound_Generic_Software Class Reference

#include <RageSoundDriver_Generic_Software.h>

Inheritance diagram for RageSound_Generic_Software:

Inheritance graph
[legend]
Collaboration diagram for RageSound_Generic_Software:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void Update (float delta)
void StartMixing (RageSoundBase *snd)
void StopMixing (RageSoundBase *snd)
 RageSound_Generic_Software ()
virtual ~RageSound_Generic_Software ()

Protected Member Functions

void StartDecodeThread ()
void SetDecodeBufferSize (int frames)
virtual void SetupDecodingThread ()
void Mix (int16_t *frames, int nframes, int64_t frameno, int64_t current_frameno)

Protected Attributes

RageMutex m_Mutex
RageMutex m_SoundListMutex

Private Member Functions

void DecodeThread ()
int GetDataForSound (sound &s)

Static Private Member Functions

int DecodeThread_start (void *p)

Private Attributes

sound sounds [32]
bool shutdown_decode_thread
RageThread m_DecodeThread

Constructor & Destructor Documentation

RageSound_Generic_Software::RageSound_Generic_Software  ) 
 

RageSound_Generic_Software::~RageSound_Generic_Software  )  [virtual]
 


Member Function Documentation

void RageSound_Generic_Software::DecodeThread  )  [private]
 

int RageSound_Generic_Software::DecodeThread_start void *  p  )  [static, private]
 

int RageSound_Generic_Software::GetDataForSound sound s  )  [private]
 

void RageSound_Generic_Software::Mix int16_t *  frames,
int  nframes,
int64_t  frameno,
int64_t  current_frameno
[protected]
 

void RageSound_Generic_Software::SetDecodeBufferSize int  frames  )  [protected]
 

virtual void RageSound_Generic_Software::SetupDecodingThread  )  [inline, protected, virtual]
 

Reimplemented in RageSound_ALSA9_Software, RageSound_CA, RageSound_DSound_Software, RageSound_OSS, and RageSound_WaveOut.

void RageSound_Generic_Software::StartDecodeThread  )  [protected]
 

void RageSound_Generic_Software::StartMixing RageSoundBase snd  )  [virtual]
 

Implements RageSoundDriver.

void RageSound_Generic_Software::StopMixing RageSoundBase snd  )  [virtual]
 

Implements RageSoundDriver.

void RageSound_Generic_Software::Update float  delta  )  [virtual]
 

Reimplemented from RageSoundDriver.

Reimplemented in RageSound_Null.


Member Data Documentation

RageThread RageSound_Generic_Software::m_DecodeThread [private]
 

RageMutex RageSound_Generic_Software::m_Mutex [protected]
 

RageMutex RageSound_Generic_Software::m_SoundListMutex [protected]
 

bool RageSound_Generic_Software::shutdown_decode_thread [private]
 

sound RageSound_Generic_Software::sounds[32] [private]
 


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