26458
|
1 /*
|
|
2 * This file is part of MPlayer.
|
|
3 *
|
|
4 * MPlayer is free software; you can redistribute it and/or modify
|
|
5 * it under the terms of the GNU General Public License as published by
|
|
6 * the Free Software Foundation; either version 2 of the License, or
|
|
7 * (at your option) any later version.
|
|
8 *
|
|
9 * MPlayer is distributed in the hope that it will be useful,
|
|
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12 * GNU General Public License for more details.
|
|
13 *
|
|
14 * You should have received a copy of the GNU General Public License along
|
|
15 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
|
|
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
17 */
|
|
18
|
26029
|
19 #ifndef MPLAYER_GUI_CFG_H
|
|
20 #define MPLAYER_GUI_CFG_H
|
23077
|
21
|
33265
|
22 #include "m_config.h"
|
33470
|
23 #include "m_option.h"
|
33265
|
24
|
|
25 extern m_config_t *gui_conf;
|
|
26
|
33179
|
27 extern int gtkCacheOn;
|
|
28 extern int gtkCacheSize;
|
23077
|
29
|
33249
|
30 extern int gtkVfPP;
|
33179
|
31 extern int gtkVfLAVC;
|
|
32
|
|
33 extern char *gtkDXR3Device;
|
23077
|
34
|
33179
|
35 extern int gtkAutoSyncOn;
|
|
36 extern int gtkAutoSync;
|
23077
|
37
|
33179
|
38 extern int gtkAONorm;
|
|
39 extern int gtkAOSurround;
|
|
40 extern int gtkAOExtraStereo;
|
|
41 extern float gtkAOExtraStereoMul;
|
|
42
|
|
43 extern char *gtkAOALSAMixer;
|
|
44 extern char *gtkAOALSAMixerChannel;
|
|
45 extern char *gtkAOALSADevice;
|
23077
|
46
|
33179
|
47 extern char *gtkAOOSSMixer;
|
|
48 extern char *gtkAOOSSMixerChannel;
|
|
49 extern char *gtkAOOSSDevice;
|
23077
|
50
|
33179
|
51 extern char *gtkAOESDDevice;
|
23077
|
52
|
33179
|
53 extern char *gtkAOSDLDriver;
|
23077
|
54
|
33179
|
55 extern int gtkEnableAudioEqualizer;
|
|
56 extern char *gtkEquChannel1;
|
|
57 extern char *gtkEquChannel2;
|
|
58 extern char *gtkEquChannel3;
|
|
59 extern char *gtkEquChannel4;
|
|
60 extern char *gtkEquChannel5;
|
|
61 extern char *gtkEquChannel6;
|
|
62
|
|
63 extern int gtkSubDumpMPSub;
|
|
64 extern int gtkSubDumpSrt;
|
23077
|
65
|
|
66 typedef struct {
|
|
67 int enabled;
|
|
68 int use_margins;
|
|
69 int top_margin;
|
|
70 int bottom_margin;
|
|
71 } gtkASS_t;
|
33179
|
72
|
23077
|
73 extern gtkASS_t gtkASS;
|
|
74
|
33179
|
75 extern int gtkEnablePlayBar;
|
|
76 extern int gtkLoadFullscreen;
|
|
77 extern int gtkShowVideoWindow;
|
|
78
|
|
79 extern int gui_save_pos;
|
|
80 extern int gui_main_pos_x;
|
|
81 extern int gui_main_pos_y;
|
|
82 extern int gui_sub_pos_x;
|
|
83 extern int gui_sub_pos_y;
|
|
84
|
33470
|
85 int cfg_gui_include(m_option_t *conf, char *filename);
|
33179
|
86 int cfg_read(void);
|
|
87 int cfg_write(void);
|
23077
|
88
|
26029
|
89 #endif /* MPLAYER_GUI_CFG_H */
|