Mercurial > mplayer.hg
annotate gui/app/cfg.h @ 36728:56cfc2c9cbad
Use numeric labels in inline asm for consistency and better
compatibility.
Patch by Matt Oliver [protogonoi gmail.com].
I added suffixes to jump targets for better code consistency.
author | reimar |
---|---|
date | Sun, 09 Feb 2014 22:19:09 +0000 |
parents | 28ea255e40ce |
children |
rev | line source |
---|---|
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 |
36429 | 25 typedef struct { |
26 int StreamType; | |
27 char *SchemeName; | |
28 } guiTV_t; | |
29 | |
30 extern guiTV_t guiTV[2]; | |
31 | |
33265 | 32 extern m_config_t *gui_conf; |
33 | |
33179 | 34 extern int gtkCacheOn; |
35 extern int gtkCacheSize; | |
23077 | 36 |
33249 | 37 extern int gtkVfPP; |
33179 | 38 extern int gtkVfLAVC; |
39 | |
40 extern char *gtkDXR3Device; | |
23077 | 41 |
33179 | 42 extern int gtkAutoSyncOn; |
43 extern int gtkAutoSync; | |
23077 | 44 |
33179 | 45 extern int gtkAONorm; |
46 extern int gtkAOSurround; | |
47 extern int gtkAOExtraStereo; | |
48 extern float gtkAOExtraStereoMul; | |
49 | |
50 extern char *gtkAOALSAMixer; | |
51 extern char *gtkAOALSAMixerChannel; | |
52 extern char *gtkAOALSADevice; | |
23077 | 53 |
33179 | 54 extern char *gtkAOOSSMixer; |
55 extern char *gtkAOOSSMixerChannel; | |
56 extern char *gtkAOOSSDevice; | |
23077 | 57 |
33179 | 58 extern char *gtkAOESDDevice; |
23077 | 59 |
33179 | 60 extern char *gtkAOSDLDriver; |
23077 | 61 |
33179 | 62 extern int gtkEnableAudioEqualizer; |
63 extern char *gtkEquChannel1; | |
64 extern char *gtkEquChannel2; | |
65 extern char *gtkEquChannel3; | |
66 extern char *gtkEquChannel4; | |
67 extern char *gtkEquChannel5; | |
68 extern char *gtkEquChannel6; | |
33747 | 69 extern float gtkEquChannels[6][10]; |
33179 | 70 |
71 extern int gtkSubDumpMPSub; | |
72 extern int gtkSubDumpSrt; | |
23077 | 73 |
74 typedef struct { | |
75 int enabled; | |
76 int use_margins; | |
77 int top_margin; | |
78 int bottom_margin; | |
79 } gtkASS_t; | |
33179 | 80 |
23077 | 81 extern gtkASS_t gtkASS; |
82 | |
33179 | 83 extern int gtkEnablePlayBar; |
84 extern int gtkLoadFullscreen; | |
85 extern int gtkShowVideoWindow; | |
86 | |
87 extern int gui_save_pos; | |
88 extern int gui_main_pos_x; | |
89 extern int gui_main_pos_y; | |
34697 | 90 extern int gui_video_pos_x; |
91 extern int gui_video_pos_y; | |
36429 | 92 extern int gui_tv_digital; |
33179 | 93 |
33747 | 94 extern int guiWinID; |
95 | |
96 extern char *skinName; | |
97 | |
33751
c28c967e40e9
Replace numeric constant fsPersistant_MaxPos for fsHistory array size.
ib
parents:
33750
diff
changeset
|
98 extern char *fsHistory[5]; |
33750
8b5898908212
Remove variable holding history of selected files from interface.[ch].
ib
parents:
33747
diff
changeset
|
99 |
35521 | 100 int cfg_gui_include(m_option_t *conf, const char *file); |
34561 | 101 void cfg_read(void); |
102 void cfg_write(void); | |
23077 | 103 |
26029 | 104 #endif /* MPLAYER_GUI_CFG_H */ |