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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
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
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
4
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
5 extern int gtkEnableAudioEqualizer;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
6
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
7 extern int gtkVfPP;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
8 extern int gtkVfLAVC;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
9
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
10 extern int gtkAONorm;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
11 extern int gtkAOFakeSurround;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
12 extern int gtkAOExtraStereo;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
13 extern float gtkAOExtraStereoMul;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
14 #ifdef USE_OSS_AUDIO
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
15 extern char * gtkAOOSSMixer;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
16 extern char * gtkAOOSSMixerChannel;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
17 extern char * gtkAOOSSDevice;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
18 #endif
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
19 #if defined(HAVE_ALSA9) || defined (HAVE_ALSA1X)
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
20 extern char * gtkAOALSAMixer;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
21 extern char * gtkAOALSAMixerChannel;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
22 extern char * gtkAOALSADevice;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
23 #endif
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
24 #ifdef HAVE_SDL
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
25 extern char * gtkAOSDLDriver;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
26 #endif
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
27 #ifdef USE_ESD
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
28 extern char * gtkAOESDDevice;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
29 #endif
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
30 #ifdef HAVE_DXR3
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
31 extern char * gtkDXR3Device;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
32 #endif
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
33
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
34 extern int gtkCacheOn;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
35 extern int gtkCacheSize;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
36
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
37 extern int gtkAutoSyncOn;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
38 extern int gtkAutoSync;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
39
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
40 extern int gtkSubDumpMPSub;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
41 extern int gtkSubDumpSrt;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
42
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
43 extern char * gtkEquChannel1;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
44 extern char * gtkEquChannel2;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
45 extern char * gtkEquChannel3;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
46 extern char * gtkEquChannel4;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
47 extern char * gtkEquChannel5;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
48 extern char * gtkEquChannel6;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
49 extern int gtkLoadFullscreen;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
50 extern int gtkShowVideoWindow;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
51 extern int gtkEnablePlayBar;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
52
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
53 extern int gui_save_pos;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
54 extern int gui_main_pos_x;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
55 extern int gui_main_pos_y;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
56 extern int gui_sub_pos_x;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
57 extern int gui_sub_pos_y;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
58
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
59 #ifdef USE_ASS
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
60 typedef struct {
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
61 int enabled;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
62 int use_margins;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
63 int top_margin;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
64 int bottom_margin;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
65 } gtkASS_t;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
66 extern gtkASS_t gtkASS;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
67 #endif
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
68
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
69 extern int cfg_read( void );
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
70 extern int cfg_write( void );
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
71
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
72 #endif