The MP3 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_dewrap (splt_state *state, int listonly, const char *dir, 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)
int splt_pl_scan_trim_silence (splt_state *state, int *error)
void splt_pl_search_syncerrors (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)
int splt_pl_simple_split (splt_state *state, char *output_fname, off_t begin, off_t end)
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 3288 of file mp3.c.

References splt_state::codec, SPLT_FALSE, splt_mp3_init(), splt_t_get_filename_to_split(), and SPLT_TRUE.

Here is the call graph for this function:

void splt_pl_dewrap ( splt_state state,
int  listonly,
const char *  dir,
int *  error 
)

Plugin API: get wrap files or dewrap.

Definition at line 3324 of file mp3.c.

References splt_w_wrap_free().

Here is the call graph for this function:

void splt_pl_end ( splt_state state,
int *  error 
)
void splt_pl_init ( splt_state state,
int *  error 
)

Plugin API: Initialize this plugin.

Definition at line 3243 of file mp3.c.

References splt_mp3_init(), 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 3357 of file mp3.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 3375 of file mp3.c.

References splt_state::codec, SPLT_OPT_PARAM_SHOTS, and SPLT_OPT_PARAM_THRESHOLD.

void splt_pl_search_syncerrors ( splt_state state,
int *  error 
)

Plugin API: search for syncerrors.

Definition at line 3317 of file mp3.c.

void splt_pl_set_original_tags ( splt_state state,
int *  error 
)

Plugin API: Read the original Tags from the file.

Definition at line 3390 of file mp3.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 3208 of file mp3.c.

int splt_pl_simple_split ( splt_state state,
char *  output_fname,
off_t  begin,
off_t  end 
)

Plugin API: Output a portion of the file.

Definition at line 3337 of file mp3.c.

References splt_state::codec, and SPLT_FALSE.


Generated on 3 Aug 2012 for libmp3splt by  doxygen 1.6.1