All that is needed in order to be able to read and write cue files. More...
#include <string.h>
#include <ctype.h>
#include "splt.h"
#include "cddb_cue_common.h"
#include "cue.h"
Go to the source code of this file.
Functions | |
void | splt_cue_export_to_file (splt_state *state, const char *out_file, short stop_at_total_time, int *error) |
int | splt_cue_put_splitpoints (const char *file, splt_state *state, int *error) |
All that is needed in order to be able to read and write cue files.
Definition in file cue.c.
void splt_cue_export_to_file | ( | splt_state * | state, | |
const char * | out_file, | |||
short | stop_at_total_time, | |||
int * | error | |||
) |
Export all split points to a cue file.
out_file | The name of the file to output the split points to | |
state | The splt_state structure containing the split points | |
error | Contains the error code if anything goes wrong | |
stop_at_total_time | If this parameter is !=0 we don't output splitpoints that lie beyond the end of the audio data. Note that the last splitpoint can be slightly beyond the calculated end of audio data. |
Definition at line 612 of file cue.c.
References SPLT_FALSE, splt_t_get_filename_to_split(), and SPLT_TRUE.
Referenced by mp3splt_export_to_cue().
int splt_cue_put_splitpoints | ( | const char * | file, | |
splt_state * | state, | |||
int * | error | |||
) |
Read in split points from a cue file.
state | the splt_state structure the split points have to be output to. | |
error | Contains the error code if anything goes wrong | |
file | The name of the file we have to analyze |
Definition at line 425 of file cue.c.
References cue_utils::current_track_type, cue_utils::file, cue_utils::file_has_been_created_by_us, splt_cc_put_filenames_from_tags(), and cue_utils::title_is_filename.
Referenced by mp3splt_put_cue_splitpoints_from_file().