CLAM-Development
1.4.0
|
#include <PCMCodec.hxx>
Public Member Functions | |
virtual | ~PCMCodec () |
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 | ~Codec () |
virtual void | RetrieveTextDescriptors (std::string uri, AudioTextDescriptors &) |
Returns textual meta information embedded on the audio file such ID3 tags. |
Static Public Member Functions | |
static PCMCodec & | Instantiate () |
![]() | |
static bool | FileExists (std::string filename) |
Definition at line 32 of file PCMCodec.hxx.
|
virtual |
Definition at line 43 of file PCMCodec.cxx.
Returns an Stream object to read or write on.
Implements CLAM::AudioCodecs::Codec.
Definition at line 95 of file PCMCodec.cxx.
|
static |
Definition at line 47 of file PCMCodec.cxx.
Referenced by CLAM::AudioFile::ResolveCodec().
|
virtual |
Returns whether the filename is readable by the codec.
Implements CLAM::AudioCodecs::Codec.
Definition at line 54 of file PCMCodec.cxx.
References NULL.
|
virtual |
Returns whether codec can write a file with such name and header parameters.
Implements CLAM::AudioCodecs::Codec.
Definition at line 74 of file PCMCodec.cxx.
|
virtual |
Returns a header structure containing file information (length, encoding...)
Implements CLAM::AudioCodecs::Codec.
Definition at line 100 of file PCMCodec.cxx.
References NULL, and CLAM::DynamicType::UpdateData().