mp3splt-gtk
libmp3splt_manager.h
1 /**********************************************************
2  *
3  * mp3splt-gtk -- utility based on mp3splt,
4  * for mp3/ogg splitting without decoding
5  *
6  * Copyright: (C) 2005-2012 Alexandru Munteanu
7  * Contact: io_fx@yahoo.fr
8  *
9  * http://mp3splt.sourceforge.net/
10  *
11  *********************************************************/
12 
13 /**********************************************************
14  *
15  * This program is free software; you can redistribute it and/or
16  * modify it under the terms of the GNU General Public License
17  * as published by the Free Software Foundation; either version 2
18  * of the License, or (at your option) any later version.
19  *
20  * This program is distributed in the hope that it will be useful,
21  * but WITHOUT ANY WARRANTY; without even the implied warranty of
22  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23  * GNU General Public License for more details.
24  *
25  * You should have received a copy of the GNU General Public License
26  * along with this program; if not, write to the Free Software
27  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
28  * USA.
29  *
30  *********************************************************/
31 
32 #ifndef LIBMP3SPLT_MANAGER_H
33 
34 #define LIBMP3SPLT_MANAGER_H
35 
36 #include "all_includes.h"
37 
38 void lmanager_init_and_find_plugins(ui_state *ui);
39 void lmanager_put_split_filename(const char *filename, int progress_data, void *data);
40 void lmanager_stop_split(ui_state *ui);
41 
42 typedef struct {
43  ui_state *ui;
44  int progress_type;
45  char *filename_shorted;
46  int current_split;
47  int max_splits;
48  int silence_found_tracks;
49  float silence_db_level;
50  float percent_progress;
52 
53 typedef struct {
54  ui_state *ui;
55  char *message;
56  splt_message_type mess_type;
58 
59 #endif
60