Functions | |
int | mp3splt_append_splitpoint (splt_state *state, long split_value, const char *name, int type) |
void | mp3splt_erase_all_splitpoints (splt_state *state, int *error) |
const splt_point * | mp3splt_get_splitpoints (splt_state *state, int *splitpoints_number, int *error) |
int mp3splt_append_splitpoint | ( | splt_state * | state, | |
long | split_value, | |||
const char * | name, | |||
int | type | |||
) |
Sets a new splitpoint.
state | The central struct libmp3splt keeps all its data in | |
type |
split_value | The position of the split point in 1/100s | |
name | The name of the split point |
Sets a new splitpoint.
state | The central data structure this library keeps all its data in | |
name | The file name if we want to set it, else NULL | |
split_value | The time of this splitpoint in hundreths of seconds. If this walue is LONG_MAX we put the splitpoint to the end of the song (EOF) |
void mp3splt_erase_all_splitpoints | ( | splt_state * | state, | |
int * | error | |||
) |
erase all splitpoints
state | The central struct libmp3splt keeps all its data in | |
error | Is filled with the error code of any error that might have occoured |
erase all splitpoints
state | The structure this library keeps all its data in | |
error | Is set to the error code if any error occours |
const splt_point* mp3splt_get_splitpoints | ( | splt_state * | state, | |
int * | splitpoints_number, | |||
int * | error | |||
) |
returns a pointer to a list of all splitpoints
state | The central struct libmp3splt keeps all its data in | |
error | Is filled with the error code of any error that might have occoured | |
splitpoints_number | The number of split points in the list |
returns a pointer to a list of all splitpoints
state | The structure this library keeps all its data in | |
splitpoints_number | Will be set to the number of splitpoints by this function | |
error | Is set to the error code if any error occours |