src/utils.c File Reference

Miscelaneous utilities. More...

#include "splt.h"
Include dependency graph for utils.c:

Go to the source code of this file.

Functions

short splt_u_fend_sec_is_bigger_than_total_time (splt_state *state, double fend_sec)
int splt_u_finish_tags_and_put_output_format_filename (splt_state *state, int current_split)
void splt_u_print_overlap_time (splt_state *state)

Detailed Description

Miscelaneous utilities.

Definition in file utils.c.


Function Documentation

short splt_u_fend_sec_is_bigger_than_total_time ( splt_state state,
double  fend_sec 
)

Is a time value [in seconds] after the end of our file?

Parameters:
fend_sec The time [in seconds] we have to compare with the end of file
state The central structure that keeps all data for this library.
Returns:
SPLT_TRUE or SPLT_FALSE

Definition at line 83 of file utils.c.

int splt_u_finish_tags_and_put_output_format_filename ( splt_state state,
int  current_split 
)

Finish Tags and provide splitpoints with a filename generated from them.

Parameters:
state The central structure that keeps all variables for libmp3splt.
current_splt The number of the split point to run this function for..

Definition at line 46 of file utils.c.

References splt_of_put_output_format_filename().

Referenced by splt_cc_put_filenames_from_tags(), splt_s_error_split(), and splt_s_multiple_split().

Here is the call graph for this function:

Here is the caller graph for this function:

void splt_u_print_overlap_time ( splt_state state  ) 

Output the amount of time all split files are set to overlap.

Definition at line 58 of file utils.c.

References splt_co_get_mins_secs_hundr(), and SPLT_OPT_OVERLAP_TIME.

Referenced by splt_s_multiple_split().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on 3 Aug 2012 for libmp3splt by  doxygen 1.6.1