Typedefs | |
| typedef struct _splt_point | splt_point |
| typedef struct _splt_points | splt_points |
Enumerations | |
| enum | splt_type_of_splitpoint { SPLT_SPLITPOINT, SPLT_SKIPPOINT } |
Functions | |
| splt_point * | mp3splt_point_new (long splitpoint_value, splt_code *error) |
| splt_code | mp3splt_point_set_name (splt_point *splitpoint, const char *name) |
| splt_code | mp3splt_point_set_type (splt_point *splitpoint, splt_type_of_splitpoint type) |
| splt_code | mp3splt_append_splitpoint (splt_state *state, splt_point *splitpoint) |
| splt_points * | mp3splt_get_splitpoints (splt_state *state, splt_code *error) |
| void | mp3splt_points_init_iterator (splt_points *splitpoints) |
| const splt_point * | mp3splt_points_next (splt_points *splitpoints) |
| long | mp3splt_point_get_value (const splt_point *point) |
| splt_type_of_splitpoint | mp3splt_point_get_type (const splt_point *point) |
| char * | mp3splt_point_get_name (const splt_point *point) |
| splt_code | mp3splt_erase_all_splitpoints (splt_state *state) |
| typedef struct _splt_point splt_point |
Structure defining one splitpoint.
All members are private.
| typedef struct _splt_points splt_points |
Structure containing several splt_point.
All members are private.
| splt_point* mp3splt_point_new | ( | long | splitpoint_value, |
| splt_code * | error | ||
| ) |
Creates a new splitpoint with the splitpoint_value.
By default, the splitpoint has no name and it has the type SPLT_SPLITPOINT.
| [in] | splitpoint_value | The time of the splitpoint in hundreths of seconds. |
| [out] | error | Possible error; can be NULL. |
| splt_code mp3splt_point_set_name | ( | splt_point * | splitpoint, |
| const char * | name | ||
| ) |
Sets the name on the splitpoint.
| [in] | splitpoint | Splitpoint to be changed. |
| [in] | name | Name of the splitpoint to be set. Useful when using SPLT_OUTPUT_CUSTOM. |
| splt_code mp3splt_point_set_type | ( | splt_point * | splitpoint, |
| splt_type_of_splitpoint | type | ||
| ) |
Sets the name on the splitpoint.
| [in] | splitpoint | Splitpoint to be changed. |
| [in] | type | Type of the splitpoint. |
| splt_code mp3splt_append_splitpoint | ( | splt_state * | state, |
| splt_point * | splitpoint | ||
| ) |
Append a new splitpoint to the state.
| [in] | state | Main state. |
| [in] | splitpoint | Splitpoint to be appended; splitpoint is freed afterwards. |
| splt_points* mp3splt_get_splitpoints | ( | splt_state * | state, |
| splt_code * | error | ||
| ) |
Returns all the splitpoints of the state.
| [in] | state | Main state. |
| [out] | error | Possible error; can be NULL. |
state.| void mp3splt_points_init_iterator | ( | splt_points * | splitpoints | ) |
Initialisation of the iterator for use with mp3splt_points_next.
| [in] | splitpoints | Splitpoints returned with mp3splt_get_splitpoints. |
| const splt_point* mp3splt_points_next | ( | splt_points * | splitpoints | ) |
Returns the next splitpoint from the splitpoints.
| [in] | splitpoints | Splitpoints to be processed. |
splitpoints or NULL if none found or no point remains.| long mp3splt_point_get_value | ( | const splt_point * | point | ) |
Returns the time value of the splitpoint point.
| [in] | point | Splitpoint to be queried. |
| splt_type_of_splitpoint mp3splt_point_get_type | ( | const splt_point * | point | ) |
Returns the type of the splitpoint point.
Type can be splt_type_of_splitpoint.
| [in] | point | Splitpoint to be queried. |
| char* mp3splt_point_get_name | ( | const splt_point * | point | ) |
Returns the name of the splitpoint point.
| [in] | point | Splitpoint to be queried. |
| splt_code mp3splt_erase_all_splitpoints | ( | splt_state * | state | ) |
Erase all splitpoints from the state.
| [in] | state | Main state. |