full_buffers and buffered_bytes must be volatile because they are used from
[mplayer/glamo.git] / gui / cfg.h
blobbe542b0b8abf73c1433a1abc403cb33c60acbff9
1 /*
2 * This file is part of MPlayer.
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.
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.
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.
19 #ifndef MPLAYER_GUI_CFG_H
20 #define MPLAYER_GUI_CFG_H
22 extern int gtkEnableAudioEqualizer;
24 extern int gtkVfPP;
25 extern int gtkVfLAVC;
27 extern int gtkAONorm;
28 extern int gtkAOFakeSurround;
29 extern int gtkAOExtraStereo;
30 extern float gtkAOExtraStereoMul;
31 extern char * gtkAOOSSMixer;
32 extern char * gtkAOOSSMixerChannel;
33 extern char * gtkAOOSSDevice;
34 extern char * gtkAOALSAMixer;
35 extern char * gtkAOALSAMixerChannel;
36 extern char * gtkAOALSADevice;
37 extern char * gtkAOSDLDriver;
38 extern char * gtkAOESDDevice;
39 extern char * gtkDXR3Device;
41 extern int gtkCacheOn;
42 extern int gtkCacheSize;
44 extern int gtkAutoSyncOn;
45 extern int gtkAutoSync;
47 extern int gtkSubDumpMPSub;
48 extern int gtkSubDumpSrt;
50 extern char * gtkEquChannel1;
51 extern char * gtkEquChannel2;
52 extern char * gtkEquChannel3;
53 extern char * gtkEquChannel4;
54 extern char * gtkEquChannel5;
55 extern char * gtkEquChannel6;
56 extern int gtkLoadFullscreen;
57 extern int gtkShowVideoWindow;
58 extern int gtkEnablePlayBar;
60 extern int gui_save_pos;
61 extern int gui_main_pos_x;
62 extern int gui_main_pos_y;
63 extern int gui_sub_pos_x;
64 extern int gui_sub_pos_y;
66 #ifdef CONFIG_ASS
67 typedef struct {
68 int enabled;
69 int use_margins;
70 int top_margin;
71 int bottom_margin;
72 } gtkASS_t;
73 extern gtkASS_t gtkASS;
74 #endif
76 int cfg_read( void );
77 int cfg_write( void );
79 #endif /* MPLAYER_GUI_CFG_H */