#include <mp3splt.h>
Data Fields | |
void(* | splt_pl_init )(splt_state *state, splt_code *error) |
void(* | splt_pl_end )(splt_state *state, splt_code *error) |
int(* | splt_pl_check_plugin_is_for_file )(splt_state *state, splt_code *error) |
void(* | splt_pl_set_plugin_info )(splt_plugin_info *information, splt_code *error) |
double(* | splt_pl_split )(splt_state *state, const char *final_fname, double begin_point, double end_point, splt_code *error, int save_end_point) |
void(* | splt_pl_set_original_tags )(splt_state *state, splt_code *error) |
void(* | splt_pl_clear_original_tags )(splt_original_tags *original_tags) |
int(* | splt_pl_scan_silence )(splt_state *state, splt_code *error) |
int(* | splt_pl_scan_trim_silence )(splt_state *state, splt_code *error) |
void(* | splt_pl_search_syncerrors )(splt_state *state, splt_code *error) |
int(* | splt_pl_offset_split )(splt_state *state, const char *output_fname, off_t begin, off_t end) |
void(* | splt_pl_dewrap )(splt_state *state, int listonly, const char *dir, splt_code *error) |
void(* | splt_pl_import_internal_sheets )(splt_state *state, splt_code *error) |
Libmp3splt plugin API.
In order to create a plugin for libmp3splt, the following functions can be implemented.
Mandatory functions are splt_pl_init, splt_pl_end, splt_pl_check_plugin_is_for_file, splt_pl_set_plugin_info and splt_pl_split.
Examples can be found for the mp3, ogg vorbis FLAC implementations.