Mercurial > mplayer.hg
annotate gui/cfg.h @ 33179:218edd8fc782
Cosmetic: Format to MPlayer coding style.
Additionally: remove needless includes, group and sort includes, group
and sort variables, rename gtkAOFakeSurround declaration gtkAOSurround,
add #ifdefs to variable declarations, group statements by adding or
removing new lines to ease reading, move assignments outside conditions,
add parentheses, avoid mixing declaration and code, revise comments and
add new ones.
author | ib |
---|---|
date | Fri, 15 Apr 2011 14:30:58 +0000 |
parents | 00c918779261 |
children | 8e423915a5bb |
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 |
30162
00c918779261
Add missing config.h #include; remove a redundant one.
diego
parents:
28051
diff
changeset
|
22 #include "config.h" |
00c918779261
Add missing config.h #include; remove a redundant one.
diego
parents:
28051
diff
changeset
|
23 |
33179 | 24 extern int gtkCacheOn; |
25 extern int gtkCacheSize; | |
23077 | 26 |
33179 | 27 extern int gtkVfLAVC; |
28 extern int gtkVfPP; | |
29 | |
30 #ifdef CONFIG_DXR3 | |
31 extern char *gtkDXR3Device; | |
32 #endif | |
23077 | 33 |
33179 | 34 extern int gtkAutoSyncOn; |
35 extern int gtkAutoSync; | |
23077 | 36 |
33179 | 37 extern int gtkAONorm; |
38 extern int gtkAOSurround; | |
39 extern int gtkAOExtraStereo; | |
40 extern float gtkAOExtraStereoMul; | |
41 | |
42 #ifdef CONFIG_ALSA | |
43 extern char *gtkAOALSAMixer; | |
44 extern char *gtkAOALSAMixerChannel; | |
45 extern char *gtkAOALSADevice; | |
46 #endif | |
23077 | 47 |
33179 | 48 #ifdef CONFIG_OSS_AUDIO |
49 extern char *gtkAOOSSMixer; | |
50 extern char *gtkAOOSSMixerChannel; | |
51 extern char *gtkAOOSSDevice; | |
52 #endif | |
23077 | 53 |
33179 | 54 #ifdef CONFIG_ESD |
55 extern char *gtkAOESDDevice; | |
56 #endif | |
23077 | 57 |
33179 | 58 #ifdef CONFIG_SDL |
59 extern char *gtkAOSDLDriver; | |
60 #endif | |
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; | |
69 | |
70 extern int gtkSubDumpMPSub; | |
71 extern int gtkSubDumpSrt; | |
23077 | 72 |
27341
e7c989f7a7c9
Start unifying names of internal preprocessor directives.
diego
parents:
26458
diff
changeset
|
73 #ifdef CONFIG_ASS |
23077 | 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 #endif | |
83 | |
33179 | 84 extern int gtkEnablePlayBar; |
85 extern int gtkLoadFullscreen; | |
86 extern int gtkShowVideoWindow; | |
87 | |
88 extern int gui_save_pos; | |
89 extern int gui_main_pos_x; | |
90 extern int gui_main_pos_y; | |
91 extern int gui_sub_pos_x; | |
92 extern int gui_sub_pos_y; | |
93 | |
94 int cfg_read(void); | |
95 int cfg_write(void); | |
23077 | 96 |
26029 | 97 #endif /* MPLAYER_GUI_CFG_H */ |