|
libmp3splt
|
#include <string.h>#include <unistd.h>#include <sys/stat.h>#include <dirent.h>#include <math.h>#include <ctype.h>#include "splt.h"#include "mp3.h"
Go to the source code of this file.
Defines | |
| #define | MP3_VERIFY_ERROR() |
Functions | |
| int | splt_mp3_get_output_tags_version (splt_state *state) |
| void | splt_mp3_init (splt_state *state, int *error) |
| void | splt_mp3_put_libid3_frame_in_tag_with_content (struct id3_tag *id, const char *frame_type, int field_number, const char *content, int *error) |
| int | splt_mp3_write_id3v1_tags (splt_state *state, FILE *file_output, const char *output_fname) |
| int | splt_mp3_write_id3v2_tags (splt_state *state, FILE *file_output, const char *output_fname, off_t *end_offset) |
| int | splt_pl_check_plugin_is_for_file (splt_state *state, int *error) |
| 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) |
| 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) |
The Plug-in that handles mp3 files.
Definition in file mp3.c.
| #define MP3_VERIFY_ERROR | ( | ) |
| int splt_mp3_get_output_tags_version | ( | splt_state * | state | ) |
returns the output tags version
Definition at line 1283 of file mp3.c.
References splt_state::original_tags, SPLT_CURRENT_TAGS, SPLT_OPT_FORCE_TAGS_VERSION, SPLT_OPT_TAGS, and splt_t_get_filename_to_split().

| void splt_mp3_init | ( | splt_state * | state, |
| int * | error | ||
| ) |
Initialize this plugin.
Definition at line 3607 of file mp3.c.
References splt_state::codec, SPLT_OPT_PARAM_OFFSET, splt_t_get_filename_to_split(), and splt_state::syncerrors.
Referenced by splt_pl_check_plugin_is_for_file(), and splt_pl_init().


| void splt_mp3_put_libid3_frame_in_tag_with_content | ( | struct id3_tag * | id, |
| const char * | frame_type, | ||
| int | field_number, | ||
| const char * | content, | ||
| int * | error | ||
| ) |
| int splt_mp3_write_id3v1_tags | ( | splt_state * | state, |
| FILE * | file_output, | ||
| const char * | output_fname | ||
| ) |
writes id3v1 tags to 'file_output'
Definition at line 1208 of file mp3.c.
References splt_t_get_filename_to_split().
