Klasse zum Encoden von MP3-Files.
|
| CMP3Encode () |
|
| ~CMP3Encode () |
|
int | EncodeBuffer (SAMPLE *left, SAMPLE *right, int num, void *mp3buf, int buffersize) |
|
int | EncodeBuffer (STEREOSAMPLE *buffer, int num, void *mp3buf, int buffersize) |
|
int | EncodeFile (CFileObject *file) |
|
int | EncodeFile (CMP3Decode *file) |
|
int | FinishEncode () |
|
int | FlushBuffer (void *mp3buf, int buffersize) |
|
const char * | GetLameVersion () |
|
const char * | GetPSYVersion () |
|
int | ReadWaveHeader (CFileObject *ff, PPL_WAVEHEADER *wav) |
|
void | SetABR (int kbps=192, int quality=2) |
|
void | SetBitrate (int kbps=192) |
|
void | SetCBR (int kbps=192, int quality=2) |
|
void | SetEncoderDelay (int milliseconds) |
|
void | SetHighpassFreq (int freq=-1) |
|
void | SetLowpassFreq (int freq=-1) |
|
void | SetMode (int mode=0) |
|
void | SetProgressFunction (void(*Progress)(PPL_SOUNDPROGRESS *prog), void *data) |
|
void | SetQuality (int quality=2) |
|
void | SetVBR (int min=32, int max=320, int quality=2) |
|
void | SetWatchThread (CThread *t) |
|
int | StartEncode (CFileObject *output=NULL) |
|
int | StartEncode (int frequency, int channels) |
|
void | StopEncode () |
|
ppl6::CMP3Encode::CMP3Encode |
( |
| ) |
|
ppl6::CMP3Encode::~CMP3Encode |
( |
| ) |
|
int ppl6::CMP3Encode::EncodeBuffer |
( |
SAMPLE * |
left, |
|
|
SAMPLE * |
right, |
|
|
int |
num, |
|
|
void * |
mp3buf, |
|
|
int |
buffersize |
|
) |
| |
int ppl6::CMP3Encode::EncodeBuffer |
( |
STEREOSAMPLE * |
buffer, |
|
|
int |
num, |
|
|
void * |
mp3buf, |
|
|
int |
buffersize |
|
) |
| |
int ppl6::CMP3Encode::EncodeFile |
( |
CMP3Decode * |
file | ) |
|
int ppl6::CMP3Encode::FinishEncode |
( |
| ) |
|
int ppl6::CMP3Encode::FlushBuffer |
( |
void * |
mp3buf, |
|
|
int |
buffersize |
|
) |
| |
const char * ppl6::CMP3Encode::GetLameVersion |
( |
| ) |
|
const char * ppl6::CMP3Encode::GetPSYVersion |
( |
| ) |
|
int ppl6::CMP3Encode::HandleWatchThread |
( |
| ) |
|
|
private |
void ppl6::CMP3Encode::SetABR |
( |
int |
kbps = 192 , |
|
|
int |
quality = 2 |
|
) |
| |
void ppl6::CMP3Encode::SetBitrate |
( |
int |
kbps = 192 | ) |
|
void ppl6::CMP3Encode::SetCBR |
( |
int |
kbps = 192 , |
|
|
int |
quality = 2 |
|
) |
| |
void ppl6::CMP3Encode::SetEncoderDelay |
( |
int |
milliseconds | ) |
|
void ppl6::CMP3Encode::SetHighpassFreq |
( |
int |
freq = -1 | ) |
|
void ppl6::CMP3Encode::SetLowpassFreq |
( |
int |
freq = -1 | ) |
|
void ppl6::CMP3Encode::SetMode |
( |
int |
mode = 0 | ) |
|
void ppl6::CMP3Encode::SetProgressFunction |
( |
void(*)(PPL_SOUNDPROGRESS *prog) |
Progress, |
|
|
void * |
data |
|
) |
| |
void ppl6::CMP3Encode::SetQuality |
( |
int |
quality = 2 | ) |
|
void ppl6::CMP3Encode::SetVBR |
( |
int |
min = 32 , |
|
|
int |
max = 320 , |
|
|
int |
quality = 2 |
|
) |
| |
void ppl6::CMP3Encode::SetWatchThread |
( |
CThread * |
t | ) |
|
int ppl6::CMP3Encode::StartEncode |
( |
CFileObject * |
output = NULL | ) |
|
int ppl6::CMP3Encode::StartEncode |
( |
int |
frequency, |
|
|
int |
channels |
|
) |
| |
void ppl6::CMP3Encode::StopEncode |
( |
| ) |
|
void ppl6::CMP3Encode::WriteEncodedBytes |
( |
char * |
buffer, |
|
|
ppldd |
bytes |
|
) |
| |
|
private |
bool ppl6::CMP3Encode::bStopEncode |
|
private |
int ppl6::CMP3Encode::encoderdelay |
|
private |
void* ppl6::CMP3Encode::gfp |
|
private |
bool ppl6::CMP3Encode::have_firstwave |
|
private |
unsigned char* ppl6::CMP3Encode::mp3buf |
|
private |
int ppl6::CMP3Encode::mp3bufsize |
|
private |
char* ppl6::CMP3Encode::readcache |
|
private |
ppldd ppl6::CMP3Encode::samples |
|
private |
bool ppl6::CMP3Encode::started |
|
private |
CThread* ppl6::CMP3Encode::WatchThread |
|
private |
Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien:
- /jenkins/jobs/clang_ppl6/workspace/include/ppl6-sound.h
- /jenkins/jobs/clang_ppl6/workspace/src/sound/CMP3Encode.cpp