libmp3splt
|
00001 /********************************************************** 00002 * 00003 * libmp3splt -- library based on mp3splt, 00004 * for mp3/ogg splitting without decoding 00005 * 00006 * Copyright (c) 2002-2005 M. Trotta - <mtrotta@users.sourceforge.net> 00007 * Copyright (c) 2005-2011 Alexandru Munteanu - io_fx@yahoo.fr 00008 * 00009 * http://mp3splt.sourceforge.net 00010 * 00011 *********************************************************/ 00012 00013 /********************************************************** 00014 * 00015 * This program is free software; you can redistribute it and/or 00016 * modify it under the terms of the GNU General Public License 00017 * as published by the Free Software Foundation; either version 2 00018 * of the License, or (at your option) any later version. 00019 * 00020 * This program is distributed in the hope that it will be useful, 00021 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00022 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00023 * GNU General Public License for more details. 00024 * 00025 * You should have received a copy of the GNU General Public License 00026 * along with this program; if not, write to the Free Software 00027 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 00028 * 02111-1307, 00029 * USA. 00030 * 00031 *********************************************************/ 00032 00033 #ifndef MP3SPLT_CHECKS_H 00034 00035 /****************************/ 00036 /* splitpoints checks */ 00037 00038 void splt_check_points_inf_song_length(splt_state *state, 00039 int *error); 00040 void splt_check_if_points_in_order(splt_state *state, 00041 int *error); 00042 00043 /****************************/ 00044 /* path check */ 00045 00046 void splt_check_if_fname_path_is_correct(splt_state *state, 00047 const char *new_filename_path, int *error); 00048 char *splt_check_put_dir_of_cur_song(const char *filename, 00049 const char *the_filename_path, int *error); 00050 00051 /****************************/ 00052 /* options check */ 00053 00054 int splt_check_compatible_options(splt_state *state); 00055 void splt_check_set_correct_options(splt_state *state); 00056 00057 /****************************/ 00058 /* file checks */ 00059 00060 void splt_check_file_type(splt_state *state, int *error); 00061 int splt_check_is_the_same_file(splt_state *state, const char *file1, 00062 const char *file2, int *error); 00063 00064 #define MP3SPLT_CHECKS_H 00065 00066 #endif 00067