CLAM-Development
1.4.0
|
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. | |
![]() | |
virtual | ~Codec () |
Static Public Member Functions | |
static OggVorbisCodec & | Instantiate () |
![]() | |
static bool | FileExists (std::string filename) |
Codec inplementation for the Ogg Vorbis audio file format.
Definition at line 32 of file OggVorbisCodec.hxx.
|
virtual |
Definition at line 46 of file OggVorbisCodec.cxx.
Returns an Stream object to read or write on.
Implements CLAM::AudioCodecs::Codec.
Definition at line 104 of file OggVorbisCodec.cxx.
|
static |
Definition at line 50 of file OggVorbisCodec.cxx.
Referenced by CLAM::AudioFile::ResolveCodec().
|
virtual |
Returns whether the filename is readable by the codec.
Implements CLAM::AudioCodecs::Codec.
Definition at line 57 of file OggVorbisCodec.cxx.
References NULL.
|
virtual |
Returns whether codec can write a file with such name and header parameters.
Implements CLAM::AudioCodecs::Codec.
Definition at line 91 of file OggVorbisCodec.cxx.
|
virtual |
Returns a header structure containing file information (length, encoding...)
Implements CLAM::AudioCodecs::Codec.
Definition at line 109 of file OggVorbisCodec.cxx.
References CLAM::EAudioFileEncoding::eDefault, CLAM::EAudioFileEndianess::eDefault, CLAM::EAudioFileFormat::eVorbisMk1, NULL, and CLAM::DynamicType::UpdateData().
|
virtual |
Returns textual meta information embedded on the audio file such ID3 tags.
Reimplemented from CLAM::AudioCodecs::Codec.
Definition at line 152 of file OggVorbisCodec.cxx.
References NULL, and CLAM::DynamicType::UpdateData().