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

RageSoundResampler Class Reference

#include <RageSoundResampler.h>

List of all members.

Public Member Functions

 RageSoundResampler ()
void SetChannels (int c)
void SetInputSampleRate (int hz)
void SetOutputSampleRate (int hz)
void write (const void *data, int bytes)
void eof ()
void reset ()
unsigned avail () const
int read (void *data, unsigned bytes)

Private Types

enum  { MAX_CHANNELS = 15 }

Private Attributes

int InputRate
int OutputRate
int Channels
int16_t prev [MAX_CHANNELS]
vector< int16_t > outbuf
bool at_eof
int ipos
float t [MAX_CHANNELS]


Member Enumeration Documentation

anonymous enum [private]
 

Enumeration values:
MAX_CHANNELS 


Constructor & Destructor Documentation

RageSoundResampler::RageSoundResampler  ) 
 


Member Function Documentation

unsigned RageSoundResampler::avail  )  const [inline]
 

void RageSoundResampler::eof  ) 
 

int RageSoundResampler::read void *  data,
unsigned  bytes
 

void RageSoundResampler::reset  ) 
 

void RageSoundResampler::SetChannels int  c  )  [inline]
 

void RageSoundResampler::SetInputSampleRate int  hz  )  [inline]
 

void RageSoundResampler::SetOutputSampleRate int  hz  )  [inline]
 

void RageSoundResampler::write const void *  data,
int  bytes
 


Member Data Documentation

bool RageSoundResampler::at_eof [private]
 

int RageSoundResampler::Channels [private]
 

int RageSoundResampler::InputRate [private]
 

int RageSoundResampler::ipos [private]
 

vector<int16_t> RageSoundResampler::outbuf [private]
 

int RageSoundResampler::OutputRate [private]
 

int16_t RageSoundResampler::prev[MAX_CHANNELS] [private]
 

float RageSoundResampler::t[MAX_CHANNELS] [private]
 


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