mp3splt-gtk

- Main Page
- Related Pages
- Data Structures
- Files

- File List
- Globals

split_mode_window.h
1 /**********************************************************
2 *
3 * mp3splt-gtk -- utility based on mp3splt,
4 * for mp3/ogg splitting without decoding
5 *
6 * Copyright (c) 2005-2013 Alexandru Munteanu - m@ioalex.net
7 *
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 * along with this program; if not, write to the Free Software
26 * You should have received a copy of the GNU General Public License
27 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
28 * USA.
29 *
30 *********************************************************/
31
32 #ifndef SPLIT_MODE_WINDOW_H
33
34 #define SPLIT_MODE_WINDOW_H
35
36 #include "all_includes.h"
37
38 #define FILE_MODE_SINGLE 1
39 #define FILE_MODE_MULTIPLE 0
40
41 #define SELECTED_SPLIT_TRIM_SILENCE 6
42 #define SELECTED_SPLIT_SILENCE 5
43 #define SELECTED_SPLIT_EQUAL_TIME_TRACKS 4
44 #define SELECTED_SPLIT_NORMAL 3
45 #define SELECTED_SPLIT_TIME 2
46 #define SELECTED_SPLIT_WRAP 1
47 #define SELECTED_SPLIT_ERROR 0
48
49 #define NUMBER_OF_SPLIT_MODES 6
50
51 void select_split_mode(int split_mode, ui_state *ui);
52 GtkWidget *create_special_split_page(ui_state *ui);
53
54 gint get_selected_split_mode_safe(ui_state *ui);
55 void set_selected_split_mode_safe(gint value, ui_state *ui);
56
57 #endif
58
create_special_split_page
GtkWidget * create_special_split_page(ui_state *ui)
creates the special split page
Definition: split_mode_window.c:457
select_split_mode
void select_split_mode(int split_mode, ui_state *ui)
Set the split mode.
Definition: split_mode_window.c:61
ui_state
Definition: ui_types.h:485