Pentagram::RawAudioSample Class Reference

#include <RawAudioSample.h>

Inheritance diagram for Pentagram::RawAudioSample:

Pentagram::AudioSample List of all members.

Public Member Functions

 RawAudioSample (uint8 *buffer, uint32 size, uint32 rate, bool signeddata, bool stereo)
virtual ~RawAudioSample ()
virtual void initDecompressor (void *DecompData) const
virtual uint32 decompressFrame (void *DecompData, void *samples) const
virtual void rewind (void *DecompData) const

Protected Attributes

bool signeddata

Classes

struct  RawDecompData

Detailed Description

Definition at line 25 of file RawAudioSample.h.


Constructor & Destructor Documentation

Pentagram::RawAudioSample::RawAudioSample ( uint8 buffer,
uint32  size,
uint32  rate,
bool  signeddata,
bool  stereo 
)

Definition at line 25 of file RawAudioSample.cpp.

References Pentagram::AudioSample::bits, Pentagram::AudioSample::decompressor_size, Pentagram::AudioSample::frame_size, Pentagram::AudioSample::length, Pentagram::AudioSample::sample_rate, and Pentagram::AudioSample::stereo.

Pentagram::RawAudioSample::~RawAudioSample (  )  [virtual]

Definition at line 37 of file RawAudioSample.cpp.


Member Function Documentation

uint32 Pentagram::RawAudioSample::decompressFrame ( void *  DecompData,
void *  samples 
) const [virtual]

Implements Pentagram::AudioSample.

Definition at line 53 of file RawAudioSample.cpp.

References Pentagram::AudioSample::buffer, Pentagram::AudioSample::buffer_size, Pentagram::AudioSample::frame_size, Pentagram::RawAudioSample::RawDecompData::pos, and signeddata.

void Pentagram::RawAudioSample::initDecompressor ( void *  DecompData  )  const [virtual]

Implements Pentagram::AudioSample.

Definition at line 42 of file RawAudioSample.cpp.

References Pentagram::RawAudioSample::RawDecompData::pos.

Referenced by rewind().

void Pentagram::RawAudioSample::rewind ( void *  DecompData  )  const [virtual]

Implements Pentagram::AudioSample.

Definition at line 48 of file RawAudioSample.cpp.

References initDecompressor().


Member Data Documentation

bool Pentagram::RawAudioSample::signeddata [protected]

Definition at line 42 of file RawAudioSample.h.

Referenced by decompressFrame().


The documentation for this class was generated from the following files:
Generated on Fri Jul 27 22:30:29 2007 for pentagram by  doxygen 1.4.7