00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033 #ifndef SPLT_TYPES_FUNC_H
00034
00035 splt_state *splt_t_new_state(splt_state *state, int *error);
00036 void splt_t_free_state(splt_state *state);
00037
00038 void splt_t_set_total_time(splt_state *state, long value);
00039 long splt_t_get_total_time(splt_state *state);
00040 double splt_t_get_total_time_as_double_secs(splt_state *state);
00041
00042 void splt_t_set_new_filename_path(splt_state *state,
00043 const char *new_filename_path, int *error);
00044 char *splt_t_get_new_filename_path(splt_state *state);
00045
00046 int splt_t_set_path_of_split(splt_state *state, const char *path);
00047 char *splt_t_get_path_of_split(splt_state *state);
00048
00049 int splt_t_set_m3u_filename(splt_state *state, const char *filename);
00050 char *splt_t_get_m3u_filename(splt_state *state);
00051 char *splt_t_get_m3u_file_with_path(splt_state *state, int *error);
00052
00053 int splt_t_set_input_filename_regex(splt_state *state, const char *regex);
00054 char *splt_t_get_input_filename_regex(splt_state *state);
00055
00056 int splt_t_set_default_comment_tag(splt_state *state, const char *default_comment);
00057 char *splt_t_get_default_comment_tag(splt_state *state);
00058
00059 int splt_t_set_default_genre_tag(splt_state *state, const char *default_genre);
00060 char *splt_t_get_default_genre_tag(splt_state *state);
00061
00062 int splt_t_set_silence_log_fname(splt_state *state, const char *filename);
00063 char *splt_t_get_silence_log_fname(splt_state *state);
00064
00065 int splt_t_set_filename_to_split(splt_state *state, const char *filename);
00066 char *splt_t_get_filename_to_split(splt_state *state);
00067 char *splt_t_get_filename_to_split(splt_state *state);
00068
00069 void splt_t_set_current_split(splt_state *state, int index);
00070 void splt_t_current_split_next(splt_state *state);
00071 int splt_t_get_current_split(splt_state *state);
00072 int splt_t_get_current_split_file_number(splt_state *state);
00073
00074 void splt_t_set_splitnumber(splt_state *state, int number);
00075 int splt_t_get_splitnumber(splt_state *state);
00076
00077 void splt_t_free_splitpoints_tags(splt_state *state);
00078
00079 void splt_t_clean_one_split_data(splt_state *state, int num);
00080 void splt_t_clean_split_data(splt_state *state,int tracks);
00081
00082 int splt_t_split_is_canceled(splt_state *state);
00083 void splt_t_set_stop_split(splt_state *state, int bool_value);
00084
00085 #define SPLT_TYPES_FUNC_H
00086
00087 #endif
00088