mp3splt-gtk
|
Functions | |
int | mp3splt_set_message_function (splt_state *state, void(*message_cb)(const char *, splt_message_type, void *), void *cb_data) |
int | mp3splt_set_progress_function (splt_state *state, void(*progress_cb)(splt_progress *p_bar, void *), void *cb_data) |
int | mp3splt_set_silence_level_function (splt_state *state, void(*get_silence_cb)(long time, float level, void *user_data), void *user_data) |
int | mp3splt_set_split_filename_function (splt_state *state, void(*file_cb)(const char *, int, void *), void *data) |
int mp3splt_set_message_function | ( | splt_state * | state, |
void(*)(const char *, splt_message_type, void *) | message_cb, | ||
void * | cb_data | ||
) |
Register the function that is to be called if we got a text message.
state | The central struct libmp3splt keeps all its data in |
message_cb | The callback function |
int mp3splt_set_progress_function | ( | splt_state * | state, |
void(*)(splt_progress *p_bar, void *) | progress_cb, | ||
void * | cb_data | ||
) |
Register the progress bar callback.
state | The central struct libmp3splt keeps all its data in |
progress_cb | The callback function |
int mp3splt_set_split_filename_function | ( | splt_state * | state, |
void(*)(const char *, int, void *) | file_cb, | ||
void * | data | ||
) |
Register the function that is to be called on creation of a output file.
state | The central struct libmp3splt keeps all its data in |
file_cb | The callback function |