#include <MpegCodec.hxx>
Public Member Functions | |
| virtual | ~MpegCodec () |
| virtual bool | IsReadable (std::string uri) const |
| Returns whether the filename is readable by the codec. | |
| virtual bool | IsWritable (std::string uri, const AudioFileHeader &) const |
| Returns whether codec can write a file with such name and header parameters. | |
| virtual Stream * | GetStreamFor (const AudioFile &) |
| Returns an Stream object to read or write on. | |
| virtual void | RetrieveHeaderData (std::string uri, AudioFileHeader &) |
| Returns a header structure containing file information (length, encoding. | |
| virtual void | RetrieveTextDescriptors (std::string uri, AudioTextDescriptors &) |
| Returns textual meta information embedded on the audio file such ID3 tags. | |
Static Public Member Functions | |
| static MpegCodec & | Instantiate () |
Protected Member Functions | |
| void | RetrieveMPEGFrameInfo (const struct mad_frame &MPEGframe, AudioFileHeader &header) |
Definition at line 37 of file MpegCodec.hxx.
| CLAM::AudioCodecs::MpegCodec::~MpegCodec | ( | ) | [virtual] |
Definition at line 106 of file MpegCodec.cxx.
Returns an Stream object to read or write on.
Implements CLAM::AudioCodecs::Codec.
Definition at line 150 of file MpegCodec.cxx.
| MpegCodec & CLAM::AudioCodecs::MpegCodec::Instantiate | ( | ) | [static] |
Definition at line 110 of file MpegCodec.cxx.
| bool CLAM::AudioCodecs::MpegCodec::IsReadable | ( | std::string | filename | ) | const [virtual] |
Returns whether the filename is readable by the codec.
Implements CLAM::AudioCodecs::Codec.
Definition at line 116 of file MpegCodec.cxx.
| bool CLAM::AudioCodecs::MpegCodec::IsWritable | ( | std::string | filename, | |
| const AudioFileHeader & | ||||
| ) | const [virtual] |
Returns whether codec can write a file with such name and header parameters.
Implements CLAM::AudioCodecs::Codec.
Definition at line 144 of file MpegCodec.cxx.
| void CLAM::AudioCodecs::MpegCodec::RetrieveHeaderData | ( | std::string | uri, | |
| AudioFileHeader & | ||||
| ) | [virtual] |
Returns a header structure containing file information (length, encoding.
..)
Implements CLAM::AudioCodecs::Codec.
Definition at line 155 of file MpegCodec.cxx.
| void CLAM::AudioCodecs::MpegCodec::RetrieveMPEGFrameInfo | ( | const struct mad_frame & | MPEGframe, | |
| AudioFileHeader & | header | |||
| ) | [protected] |
Definition at line 306 of file MpegCodec.cxx.
| void CLAM::AudioCodecs::MpegCodec::RetrieveTextDescriptors | ( | std::string | uri, | |
| AudioTextDescriptors & | tdesc | |||
| ) | [virtual] |
Returns textual meta information embedded on the audio file such ID3 tags.
Reimplemented from CLAM::AudioCodecs::Codec.
Definition at line 353 of file MpegCodec.cxx.
1.6.3