#include <RawAudioSample.h>
Inheritance diagram for Pentagram::RawAudioSample:
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 |
Definition at line 25 of file RawAudioSample.h.
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.
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().
bool Pentagram::RawAudioSample::signeddata [protected] |