Mercurial > mplayer.hg
annotate gui/cfg.h @ 25347:22e5eb039c83
Fix memory leak. I thought asx_get_attrib() return a const char *,
but indeed it return string by strdup.
author | ulion |
---|---|
date | Wed, 12 Dec 2007 06:32:54 +0000 |
parents | 0bbfebce0583 |
children | 3baf6a2283da |
rev | line source |
---|---|
23077 | 1 |
23689
3f0d00abc073
Do not use leading underscores in multiple inclusion guards, they are reserved.
diego
parents:
23685
diff
changeset
|
2 #ifndef GUI_CFG_H |
3f0d00abc073
Do not use leading underscores in multiple inclusion guards, they are reserved.
diego
parents:
23685
diff
changeset
|
3 #define GUI_CFG_H |
23077 | 4 |
5 extern int gtkEnableAudioEqualizer; | |
6 | |
7 extern int gtkVfPP; | |
8 extern int gtkVfLAVC; | |
9 | |
10 extern int gtkAONorm; | |
11 extern int gtkAOFakeSurround; | |
12 extern int gtkAOExtraStereo; | |
13 extern float gtkAOExtraStereoMul; | |
14 #ifdef USE_OSS_AUDIO | |
15 extern char * gtkAOOSSMixer; | |
16 extern char * gtkAOOSSMixerChannel; | |
17 extern char * gtkAOOSSDevice; | |
18 #endif | |
19 #if defined(HAVE_ALSA9) || defined (HAVE_ALSA1X) | |
20 extern char * gtkAOALSAMixer; | |
21 extern char * gtkAOALSAMixerChannel; | |
22 extern char * gtkAOALSADevice; | |
23 #endif | |
24 #ifdef HAVE_SDL | |
25 extern char * gtkAOSDLDriver; | |
26 #endif | |
27 #ifdef USE_ESD | |
28 extern char * gtkAOESDDevice; | |
29 #endif | |
30 #ifdef HAVE_DXR3 | |
31 extern char * gtkDXR3Device; | |
32 #endif | |
33 | |
34 extern int gtkCacheOn; | |
35 extern int gtkCacheSize; | |
36 | |
37 extern int gtkAutoSyncOn; | |
38 extern int gtkAutoSync; | |
39 | |
40 extern int gtkSubDumpMPSub; | |
41 extern int gtkSubDumpSrt; | |
42 | |
43 extern char * gtkEquChannel1; | |
44 extern char * gtkEquChannel2; | |
45 extern char * gtkEquChannel3; | |
46 extern char * gtkEquChannel4; | |
47 extern char * gtkEquChannel5; | |
48 extern char * gtkEquChannel6; | |
49 extern int gtkLoadFullscreen; | |
50 extern int gtkShowVideoWindow; | |
51 extern int gtkEnablePlayBar; | |
52 | |
53 extern int gui_save_pos; | |
54 extern int gui_main_pos_x; | |
55 extern int gui_main_pos_y; | |
56 extern int gui_sub_pos_x; | |
57 extern int gui_sub_pos_y; | |
58 | |
59 #ifdef USE_ASS | |
60 typedef struct { | |
61 int enabled; | |
62 int use_margins; | |
63 int top_margin; | |
64 int bottom_margin; | |
65 } gtkASS_t; | |
66 extern gtkASS_t gtkASS; | |
67 #endif | |
68 | |
69 extern int cfg_read( void ); | |
70 extern int cfg_write( void ); | |
71 | |
72 #endif |