Splitpoint manipulation

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_pointmp3splt_get_splitpoints (splt_state *state, int *splitpoints_number, int *error)

Function Documentation

int mp3splt_append_splitpoint ( splt_state state,
long  split_value,
const char *  name,
int  type 
)

Sets a new splitpoint.

Parameters:
state The central struct libmp3splt keeps all its data in
type 
See also:
splt_type_of_splitpoint
Parameters:
split_value The position of the split point in 1/100s
name The name of the split point
Returns:
The error code of any error that might have occoured

Sets a new splitpoint.

Parameters:
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)

Definition at line 494 of file mp3splt.c.

void mp3splt_erase_all_splitpoints ( splt_state state,
int *  error 
)

erase all splitpoints

Parameters:
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

Parameters:
state The structure this library keeps all its data in
error Is set to the error code if any error occours

Definition at line 552 of file mp3splt.c.

const splt_point* mp3splt_get_splitpoints ( splt_state state,
int *  splitpoints_number,
int *  error 
)

returns a pointer to a list of all splitpoints

Parameters:
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 the split point list

returns a pointer to a list of all splitpoints

Parameters:
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

Definition at line 529 of file mp3splt.c.


Generated on 3 Aug 2012 for libmp3splt by  doxygen 1.6.1