#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. | |
Static Public Member Functions | |
| static PCMCodec & | Instantiate () |
Definition at line 32 of file PCMCodec.hxx.
| CLAM::AudioCodecs::PCMCodec::~PCMCodec | ( | ) | [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.
| PCMCodec & CLAM::AudioCodecs::PCMCodec::Instantiate | ( | ) | [static] |
Definition at line 47 of file PCMCodec.cxx.
| bool CLAM::AudioCodecs::PCMCodec::IsReadable | ( | std::string | filename | ) | const [virtual] |
Returns whether the filename is readable by the codec.
Implements CLAM::AudioCodecs::Codec.
Definition at line 54 of file PCMCodec.cxx.
References NULL.
| bool CLAM::AudioCodecs::PCMCodec::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 74 of file PCMCodec.cxx.
| void CLAM::AudioCodecs::PCMCodec::RetrieveHeaderData | ( | std::string | uri, | |
| AudioFileHeader & | ||||
| ) | [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().
1.6.3