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

RageSoundReader_Preload Class Reference

#include <RageSoundReader_Preload.h>

Inheritance diagram for RageSoundReader_Preload:

Inheritance graph
[legend]
Collaboration diagram for RageSoundReader_Preload:

Collaboration graph
[legend]
List of all members.

Public Member Functions

bool Open (SoundReader *source)
int GetLength () const
int GetLength_Fast () const
int SetPosition_Accurate (int ms)
int SetPosition_Fast (int ms)
int Read (char *buf, unsigned len)
int GetSampleRate () const
unsigned GetNumChannels () const
bool IsStreamingFromDisk () const
SoundReaderCopy () const
 ~RageSoundReader_Preload ()

Static Public Member Functions

bool PreloadSound (SoundReader *&pSound)

Private Member Functions

int total_samples () const

Private Attributes

rc_string buf
int position
int samplerate
unsigned channels
float OffsetFix

Constructor & Destructor Documentation

RageSoundReader_Preload::~RageSoundReader_Preload  )  [inline]
 


Member Function Documentation

SoundReader * RageSoundReader_Preload::Copy  )  const [virtual]
 

Implements SoundReader.

int RageSoundReader_Preload::GetLength  )  const [virtual]
 

Implements SoundReader.

int RageSoundReader_Preload::GetLength_Fast  )  const [virtual]
 

Reimplemented from SoundReader.

unsigned RageSoundReader_Preload::GetNumChannels  )  const [inline, virtual]
 

Reimplemented from SoundReader.

int RageSoundReader_Preload::GetSampleRate  )  const [inline, virtual]
 

Implements SoundReader.

bool RageSoundReader_Preload::IsStreamingFromDisk  )  const [inline, virtual]
 

Implements SoundReader.

bool RageSoundReader_Preload::Open SoundReader source  ) 
 

bool RageSoundReader_Preload::PreloadSound SoundReader *&  pSound  )  [static]
 

int RageSoundReader_Preload::Read char *  buf,
unsigned  len
[virtual]
 

Implements SoundReader.

int RageSoundReader_Preload::SetPosition_Accurate int  ms  )  [virtual]
 

Implements SoundReader.

int RageSoundReader_Preload::SetPosition_Fast int  ms  )  [virtual]
 

Reimplemented from SoundReader.

int RageSoundReader_Preload::total_samples  )  const [private]
 


Member Data Documentation

rc_string RageSoundReader_Preload::buf [private]
 

unsigned RageSoundReader_Preload::channels [private]
 

float RageSoundReader_Preload::OffsetFix [private]
 

int RageSoundReader_Preload::position [private]
 

int RageSoundReader_Preload::samplerate [private]
 


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