view gui/cfg.h @ 25432:7957b8762195

Vobsub support tridx setting in .idx file.
author ulion
date Wed, 19 Dec 2007 08:35:40 +0000
parents 0bbfebce0583
children 3baf6a2283da
line wrap: on
line source


#ifndef GUI_CFG_H
#define GUI_CFG_H

extern int gtkEnableAudioEqualizer;

extern int    gtkVfPP;
extern int    gtkVfLAVC;

extern int    gtkAONorm;
extern int    gtkAOFakeSurround;
extern int    gtkAOExtraStereo;
extern float  gtkAOExtraStereoMul;
#ifdef USE_OSS_AUDIO
extern char * gtkAOOSSMixer;
extern char * gtkAOOSSMixerChannel;
extern char * gtkAOOSSDevice;
#endif
#if defined(HAVE_ALSA9) || defined (HAVE_ALSA1X)
extern char * gtkAOALSAMixer;
extern char * gtkAOALSAMixerChannel;
extern char * gtkAOALSADevice;
#endif
#ifdef HAVE_SDL
extern char * gtkAOSDLDriver;
#endif
#ifdef USE_ESD
extern char * gtkAOESDDevice;
#endif
#ifdef HAVE_DXR3
extern char * gtkDXR3Device;
#endif

extern int    gtkCacheOn;
extern int    gtkCacheSize;

extern int    gtkAutoSyncOn;
extern int    gtkAutoSync;

extern int    gtkSubDumpMPSub;
extern int    gtkSubDumpSrt;

extern char * gtkEquChannel1;
extern char * gtkEquChannel2;
extern char * gtkEquChannel3;
extern char * gtkEquChannel4;
extern char * gtkEquChannel5;
extern char * gtkEquChannel6;
extern int    gtkLoadFullscreen;
extern int    gtkShowVideoWindow;
extern int    gtkEnablePlayBar;

extern int    gui_save_pos;
extern int    gui_main_pos_x;
extern int    gui_main_pos_y;
extern int    gui_sub_pos_x;
extern int    gui_sub_pos_y;

#ifdef USE_ASS
typedef struct {
    int enabled;
    int use_margins;
    int top_margin;
    int bottom_margin;
} gtkASS_t;
extern gtkASS_t gtkASS;
#endif

extern int cfg_read( void );
extern int cfg_write( void );

#endif