libmp3splt
The OGG plugin's API

Functions

int splt_pl_check_plugin_is_for_file (splt_state *state, int *error)
void splt_pl_end (splt_state *state, int *error)
void splt_pl_init (splt_state *state, int *error)
int splt_pl_scan_silence (splt_state *state, int *error)
void splt_pl_set_original_tags (splt_state *state, int *error)
void splt_pl_set_plugin_info (splt_plugin_info *info, int *error)
double splt_pl_split (splt_state *state, const char *final_fname, double begin_point, double end_point, int *error, int save_end_point)

Function Documentation

int splt_pl_check_plugin_is_for_file ( splt_state state,
int *  error 
)

Plugin API: check if file can be handled by this plugin.

Definition at line 1968 of file ogg.c.

References SPLT_FALSE, splt_t_get_filename_to_split(), and SPLT_TRUE.

Here is the call graph for this function:

void splt_pl_end ( splt_state state,
int *  error 
)

Plugin API: Uninitialize this plugin.

Definition at line 2041 of file ogg.c.

void splt_pl_init ( splt_state state,
int *  error 
)

Plugin API: Initialize this plugin.

Definition at line 2014 of file ogg.c.

References splt_state::codec, SPLT_OPT_PARAM_OFFSET, and splt_t_get_filename_to_split().

Here is the call graph for this function:

int splt_pl_scan_silence ( splt_state state,
int *  error 
)

Plugin API: Scan for silence.

Definition at line 2065 of file ogg.c.

References splt_state::codec, SPLT_OPT_PARAM_MIN_LENGTH, SPLT_OPT_PARAM_OFFSET, and SPLT_OPT_PARAM_THRESHOLD.

void splt_pl_set_original_tags ( splt_state state,
int *  error 
)

Plugin API: Read the original Tags from the file.

Definition at line 2082 of file ogg.c.

References splt_t_get_filename_to_split().

Here is the call graph for this function:

void splt_pl_set_plugin_info ( splt_plugin_info info,
int *  error 
)

Plugin API: returns the plugin infos (name, version, extension)

alloced data in splt_plugin_info will be freed by splt_t_state_free() at the end of the program

Definition at line 1933 of file ogg.c.

double splt_pl_split ( splt_state state,
const char *  final_fname,
double  begin_point,
double  end_point,
int *  error,
int  save_end_point 
)

Plugin API: Output a portion of the file.

Definition at line 2047 of file ogg.c.

References splt_options::option_input_not_seekable, splt_state::options, splt_options::parameter_gap, and splt_options::parameter_threshold.