libmp3splt
src/oformat_parser.c File Reference
#include <string.h>
#include <ctype.h>
#include <math.h>
#include "splt.h"
Include dependency graph for oformat_parser.c:

Go to the source code of this file.

Functions

int splt_of_parse_outformat (char *s, splt_state *state)
int splt_of_put_output_format_filename (splt_state *state, int current_split)

Detailed Description

Automatic generation of filenams for split files from tags.

Definition in file oformat_parser.c.


Function Documentation

int splt_of_put_output_format_filename ( splt_state state,
int  current_split 
)

Automagically set the filename for a split point.

The filename is generated from the tags and the output format string.

Parameters:
stateThe central structure libmp3splt keeps all its data in
current_spltThe number of the split point to determine the filename for.

Definition at line 323 of file oformat_parser.c.

References splt_state::oformat, splt_struct::real_tagsnumber, splt_state::split, splt_co_get_mins_secs_hundr(), SPLT_FALSE, SPLT_OPT_ALL_REMAINING_TAGS_LIKE_X, SPLT_OPT_OUTPUT_FILENAMES, SPLT_OPT_SPLIT_MODE, SPLT_OPTION_ERROR_MODE, SPLT_OPTION_LENGTH_MODE, SPLT_OPTION_NORMAL_MODE, SPLT_OPTION_SILENCE_MODE, SPLT_OPTION_TIME_MODE, SPLT_OUTPUT_CUSTOM, splt_t_get_filename_to_split(), and SPLT_TRUE.

Referenced by splt_u_finish_tags_and_put_output_format_filename().

Here is the call graph for this function:

Here is the caller graph for this function: