plugins/mp3.c File Reference

The Plug-in that handles mp3 files. More...

#include "splt.h"
#include "mp3.h"
#include "mp3_silence.h"
#include "mp3_utils.h"
Include dependency graph for mp3.c:

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)
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_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)

Detailed Description

The Plug-in that handles mp3 files.

Definition in file mp3.c.


Define Documentation

 
#define MP3_VERIFY_ERROR (  ) 
Value:
if (err != SPLT_OK) \
{ \
*tag_error = err; \
goto end; \
};

macro used only in the following function splt_mp3_get_original_tags

Definition at line 538 of file mp3.c.


Function Documentation

int splt_mp3_get_output_tags_version ( splt_state state  ) 

returns the output tags version

Definition at line 1050 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().

Here is the call graph for this function:

void splt_mp3_init ( splt_state state,
int *  error 
)

Initialize this plugin.

Definition at line 3170 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().

Here is the call graph for this function:

Here is the caller graph for this function:

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 975 of file mp3.c.

References splt_t_get_filename_to_split().

Here is the call graph for this function:


Generated on 3 Aug 2012 for libmp3splt by  doxygen 1.6.1