Mixxx

EncoderMp3 Class Reference

#include <encodermp3.h>

Inheritance diagram for EncoderMp3:
Collaboration diagram for EncoderMp3:

List of all members.

Public Member Functions

 EncoderMp3 (EngineAbstractRecord *engine=0)
virtual ~EncoderMp3 ()
int initEncoder (int bitrate)
void encodeBuffer (const CSAMPLE *samples, const int size)
void updateMetaData (char *artist, char *title, char *album)
void flush ()

Detailed Description

Definition at line 38 of file encodermp3.h.


Constructor & Destructor Documentation

EncoderMp3::EncoderMp3 ( EngineAbstractRecord engine = 0)

Definition at line 32 of file encodermp3.cpp.

Here is the call graph for this function:

EncoderMp3::~EncoderMp3 ( ) [virtual]

Definition at line 210 of file encodermp3.cpp.

Here is the call graph for this function:


Member Function Documentation

void EncoderMp3::encodeBuffer ( const CSAMPLE samples,
const int  size 
) [virtual]

encodes audio and calls engine->write to send it a file or over a network

Implements Encoder.

Definition at line 292 of file encodermp3.cpp.

Here is the call graph for this function:

void EncoderMp3::flush ( ) [virtual]

called at the end when encoding is finished

Flush also writes ID3 tags

Implements Encoder.

Definition at line 279 of file encodermp3.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

int EncoderMp3::initEncoder ( int  bitrate) [virtual]

Implements Encoder.

Definition at line 329 of file encodermp3.cpp.

Here is the call graph for this function:

void EncoderMp3::updateMetaData ( char *  artist,
char *  title,
char *  album 
) [virtual]

only used for audio recording. Adds metadata to the encoded auio, i.e., the ID3 tag

Implements Encoder.

Definition at line 371 of file encodermp3.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines