Logo Search packages:      
Sourcecode: darkice version File versions

LameLibEncoder Class Reference

#include <LameLibEncoder.h>

Inheritance diagram for LameLibEncoder:

AudioEncoder Reporter Sink Referable Referable

List of all members.


Detailed Description

A class representing the lame encoder linked as a shared object or as a static library.

Author:
Author
darkeye
Version:
Revision
1.15

Definition at line 72 of file LameLibEncoder.h.


Public Types

enum  BitrateMode { cbr, abr, vbr }

Public Member Functions

virtual bool canWrite (unsigned int sec, unsigned int usec) throw ( Exception )
virtual void close (void) throw ( Exception )
unsigned int decreaseReferenceCount (void) throw ( Exception )
unsigned int decreaseReferenceCount (void) throw ( Exception )
virtual void flush (void) throw ( Exception )
int getInBitsPerSample (void) const throw ()
int getInChannel (void) const throw ()
int getInSampleRate (void) const throw ()
const char * getLameVersion (void)
unsigned int getOutBitrate (void) const throw ()
BitrateMode getOutBitrateMode (void) const throw ()
int getOutChannel (void) const throw ()
double getOutQuality (void) const throw ()
int getOutSampleRate (void) const throw ()
unsigned int getReferenceCount (void) const throw ()
unsigned int getReferenceCount (void) const throw ()
unsigned int increaseReferenceCount (void) throw ( Exception )
unsigned int increaseReferenceCount (void) throw ( Exception )
bool isInBigEndian (void) const throw ()
virtual bool isOpen (void) const throw ()
virtual bool isRunning (void) const throw ()
 LameLibEncoder (const LameLibEncoder &encoder) throw ( Exception )
 LameLibEncoder (Sink *sink, const AudioSource *as, BitrateMode outBitrateMode, unsigned int outBitrate, double outQuality, unsigned int outSampleRate=0, unsigned int outChannel=0, int lowpass=0, int highpass=0) throw ( Exception )
 LameLibEncoder (Sink *sink, unsigned int inSampleRate, unsigned int inBitsPerSample, unsigned int inChannel, bool inBigEndian, BitrateMode outBitrateMode, unsigned int outBitrate, double outQuality, unsigned int outSampleRate=0, unsigned int outChannel=0, int lowpass=0, int highpass=0) throw ( Exception )
virtual bool open (void) throw ( Exception )
virtual LameLibEncoderoperator= (const LameLibEncoder &encoder) throw ( Exception )
virtual bool start (void) throw ( Exception )
virtual void stop (void) throw ( Exception )
virtual unsigned int write (const void *buf, unsigned int len) throw ( Exception )
virtual ~LameLibEncoder (void) throw ( Exception )

Static Public Member Functions

static std::ostream & getReportOutputStream (void) throw ()
static unsigned int getReportVerbosity (void) throw ()
template<class T, class U, class V, class W>
static void reportEvent (unsigned int verbosity, const T t, const U u, const V v, const W w) throw ()
template<class T, class U, class V>
static void reportEvent (unsigned int verbosity, const T t, const U u, const V v) throw ()
template<class T, class U>
static void reportEvent (unsigned int verbosity, const T t, const U u) throw ()
template<class T>
static void reportEvent (unsigned int verbosity, const T t) throw ()
static void setReportOutputStream (std::ostream &os) throw ()
static void setReportVerbosity (unsigned int verbosity) throw ()

Protected Member Functions

 LameLibEncoder (void) throw ( Exception )

Private Member Functions

void init (Sink *sink, int lowpass, int highpass) throw ( Exception )
void strip (void) throw ( Exception )

Private Attributes

int highpass
lame_global_flags * lameGlobalFlags
int lowpass
Ref< Sinksink

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

Generated by  Doxygen 1.6.0   Back to index