CLAM-Development  1.4.0
Public Member Functions | Static Public Member Functions
CLAM::AudioCodecs::PCMCodec Class Reference

#include <PCMCodec.hxx>

List of all members.

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 StreamGetStreamFor (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...)
- Public Member Functions inherited from CLAM::AudioCodecs::Codec
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 PCMCodecInstantiate ()
- Static Public Member Functions inherited from CLAM::AudioCodecs::Codec
static bool FileExists (std::string filename)

Detailed Description

Definition at line 32 of file PCMCodec.hxx.


Constructor & Destructor Documentation

CLAM::AudioCodecs::PCMCodec::~PCMCodec ( )
virtual

Definition at line 43 of file PCMCodec.cxx.


Member Function Documentation

Stream * CLAM::AudioCodecs::PCMCodec::GetStreamFor ( const AudioFile )
virtual

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.

Referenced by CLAM::AudioFile::ResolveCodec().

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().


The documentation for this class was generated from the following files: