The OGG plugin's API

Functions

int splt_pl_check_plugin_is_for_file (splt_state *state, int *error)
void splt_pl_clear_original_tags (splt_original_tags *original_tags)
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)
int splt_pl_scan_trim_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 1401 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 1474 of file ogg.c.

void splt_pl_init ( splt_state state,
int *  error 
)

Plugin API: Initialize this plugin.

Definition at line 1447 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 1501 of file ogg.c.

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

int splt_pl_scan_trim_silence ( splt_state state,
int *  error 
)

Plugin API: Scan trim using silence.

Definition at line 1519 of file ogg.c.

References SPLT_OPT_PARAM_SHOTS, 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 1532 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 1366 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 1480 of file ogg.c.

References SPLT_OPT_INPUT_NOT_SEEKABLE, SPLT_OPT_PARAM_GAP, SPLT_OPT_PARAM_SHOTS, and SPLT_OPT_PARAM_THRESHOLD.


Generated on 3 Aug 2012 for libmp3splt by  doxygen 1.6.1