![]() |
Mixxx
|
#include <encodermp3.h>
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 () |
Definition at line 38 of file encodermp3.h.
EncoderMp3::EncoderMp3 | ( | EngineAbstractRecord * | engine = 0 | ) |
EncoderMp3::~EncoderMp3 | ( | ) | [virtual] |
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.
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.
int EncoderMp3::initEncoder | ( | int | bitrate | ) | [virtual] |
Implements Encoder.
Definition at line 329 of file encodermp3.cpp.
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.