#include <MpegBitstream.hxx>
Public Member Functions | |
MpegBitstream () | |
~MpegBitstream () | |
void | Init () |
void | Init (FILE *) |
TTime | Finish () |
bool | EOS () |
bool | FatalError () |
bool | NextFrame () |
Returns false on eof, fatal decoding error or file error Returns true on successfull frame read. | |
void | SynthesizeCurrent () |
bool | EnsureEnoughBufferData () |
unsigned long | CurrentFrameFileOffset () const |
struct mad_frame & | CurrentFrame () |
struct mad_synth & | CurrentSynthesis () |
struct mad_stream & | StreamState () |
Definition at line 38 of file MpegBitstream.hxx.
CLAM::AudioCodecs::MpegBitstream::MpegBitstream | ( | ) |
Definition at line 74 of file MpegBitstream.cxx.
CLAM::AudioCodecs::MpegBitstream::~MpegBitstream | ( | ) |
Definition at line 80 of file MpegBitstream.cxx.
struct mad_frame & CLAM::AudioCodecs::MpegBitstream::CurrentFrame | ( | ) | [read] |
Definition at line 197 of file MpegBitstream.cxx.
unsigned long CLAM::AudioCodecs::MpegBitstream::CurrentFrameFileOffset | ( | ) | const |
Definition at line 186 of file MpegBitstream.cxx.
struct mad_synth & CLAM::AudioCodecs::MpegBitstream::CurrentSynthesis | ( | ) | [read] |
Definition at line 202 of file MpegBitstream.cxx.
bool CLAM::AudioCodecs::MpegBitstream::EnsureEnoughBufferData | ( | ) |
Definition at line 122 of file MpegBitstream.cxx.
References CLAM_ASSERT, and NULL.
Referenced by NextFrame().
bool CLAM::AudioCodecs::MpegBitstream::EOS | ( | ) |
Definition at line 110 of file MpegBitstream.cxx.
bool CLAM::AudioCodecs::MpegBitstream::FatalError | ( | ) |
Definition at line 117 of file MpegBitstream.cxx.
TTime CLAM::AudioCodecs::MpegBitstream::Finish | ( | ) |
Definition at line 101 of file MpegBitstream.cxx.
void CLAM::AudioCodecs::MpegBitstream::Init | ( | FILE * | fp | ) |
Definition at line 86 of file MpegBitstream.cxx.
References Init().
void CLAM::AudioCodecs::MpegBitstream::Init | ( | ) |
Definition at line 92 of file MpegBitstream.cxx.
Referenced by Init().
bool CLAM::AudioCodecs::MpegBitstream::NextFrame | ( | ) |
Returns false on eof, fatal decoding error or file error Returns true on successfull frame read.
Definition at line 157 of file MpegBitstream.cxx.
References EnsureEnoughBufferData(), and CLAM::AudioCodecs::MadError().
struct mad_stream & CLAM::AudioCodecs::MpegBitstream::StreamState | ( | ) | [read] |
Definition at line 70 of file MpegBitstream.hxx.
void CLAM::AudioCodecs::MpegBitstream::SynthesizeCurrent | ( | ) |
Definition at line 192 of file MpegBitstream.cxx.