CLAM::EAudioFileFormat Class Reference
[Audio File I/O]

#include <AudioFileFormats.hxx>

Inheritance diagram for CLAM::EAudioFileFormat:

CLAM::Enum CLAM::Component

List of all members.


Detailed Description

Definition at line 70 of file AudioFileFormats.hxx.


Public Types

enum  {
  eWAV = SF_FORMAT_WAV, eAIFF = SF_FORMAT_AIFF, eAU = SF_FORMAT_AU, eRAW = SF_FORMAT_RAW,
  ePAF = SF_FORMAT_PAF, eSVX = SF_FORMAT_SVX, eNIST = SF_FORMAT_NIST, eVOC = SF_FORMAT_VOC,
  eIRCAM = SF_FORMAT_IRCAM, eW64 = SF_FORMAT_W64, eMAT4 = SF_FORMAT_MAT4, eMAT5 = SF_FORMAT_MAT5,
  eVorbisMk1 = 1000 + SF_FORMAT_MAT5, eMpegLayer1 = 1001 + SF_FORMAT_MAT5, eMpegLayer2 = 1002 + SF_FORMAT_MAT5, eMpegLayer3 = 1003 + SF_FORMAT_MAT5
}

Public Member Functions

 EAudioFileFormat ()
 EAudioFileFormat (tValue val)
 EAudioFileFormat (std::string s)
virtual ComponentSpecies () const
 Returns a new object of the same class than the receiver object.

Static Public Member Functions

static tValue DefaultValue ()
static tEnumValueEnumValues ()
static EAudioFileFormat FormatFromFilename (std::string filename)

Member Enumeration Documentation

anonymous enum

Enumerator:
eWAV 
eAIFF 
eAU 
eRAW 
ePAF 
eSVX 
eNIST 
eVOC 
eIRCAM 
eW64 
eMAT4 
eMAT5 
eVorbisMk1 
eMpegLayer1 
eMpegLayer2 
eMpegLayer3 

Definition at line 78 of file AudioFileFormats.hxx.


Constructor & Destructor Documentation

CLAM::EAudioFileFormat::EAudioFileFormat (  )  [inline]

Definition at line 73 of file AudioFileFormats.hxx.

CLAM::EAudioFileFormat::EAudioFileFormat ( tValue  val  )  [inline]

Definition at line 74 of file AudioFileFormats.hxx.

CLAM::EAudioFileFormat::EAudioFileFormat ( std::string  s  )  [inline]

Definition at line 75 of file AudioFileFormats.hxx.


Member Function Documentation

virtual Component* CLAM::EAudioFileFormat::Species (  )  const [inline, virtual]

Returns a new object of the same class than the receiver object.

To be reimplemented by subclasses.

Returns:
a new allocated component. The pointer belongs to the caller.

Implements CLAM::Enum.

Definition at line 76 of file AudioFileFormats.hxx.

static tValue CLAM::EAudioFileFormat::DefaultValue (  )  [inline, static]

Definition at line 98 of file AudioFileFormats.hxx.

References eWAV.

static tEnumValue* CLAM::EAudioFileFormat::EnumValues (  )  [inline, static]

EAudioFileFormat CLAM::EAudioFileFormat::FormatFromFilename ( std::string  filename  )  [static]


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

Generated on Tue Aug 12 22:33:50 2008 for CLAM by  doxygen 1.5.5