Codec inplementation for the Ogg Vorbis audio file format. More...
#include <OggVorbisCodec.hxx>
Public Member Functions | |
| virtual | ~OggVorbisCodec () |
| 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 OggVorbisCodec & | Instantiate () |
Codec inplementation for the Ogg Vorbis audio file format.
Definition at line 32 of file OggVorbisCodec.hxx.
| CLAM::AudioCodecs::OggVorbisCodec::~OggVorbisCodec | ( | ) | [virtual] |
Definition at line 40 of file OggVorbisCodec.cxx.
Returns an Stream object to read or write on.
Implements CLAM::AudioCodecs::Codec.
Definition at line 98 of file OggVorbisCodec.cxx.
| OggVorbisCodec & CLAM::AudioCodecs::OggVorbisCodec::Instantiate | ( | ) | [static] |
Definition at line 44 of file OggVorbisCodec.cxx.
| bool CLAM::AudioCodecs::OggVorbisCodec::IsReadable | ( | std::string | filename | ) | const [virtual] |
Returns whether the filename is readable by the codec.
Implements CLAM::AudioCodecs::Codec.
Definition at line 51 of file OggVorbisCodec.cxx.
| bool CLAM::AudioCodecs::OggVorbisCodec::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 85 of file OggVorbisCodec.cxx.
| void CLAM::AudioCodecs::OggVorbisCodec::RetrieveHeaderData | ( | std::string | uri, | |
| AudioFileHeader & | ||||
| ) | [virtual] |
Returns a header structure containing file information (length, encoding.
..)
Implements CLAM::AudioCodecs::Codec.
Definition at line 103 of file OggVorbisCodec.cxx.
| void CLAM::AudioCodecs::OggVorbisCodec::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 146 of file OggVorbisCodec.cxx.
1.6.3