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 19 #ifndef MPLAYER_GUI_CFG_H 20 #define MPLAYER_GUI_CFG_H 21 22 #include "m_config.h" 23 #include "m_option.h" 24 25 typedef struct { 26 int StreamType; 27 char *SchemeName; 28 } guiTV_t; 29 30 extern guiTV_t guiTV[2]; 31 32 extern m_config_t *gui_conf; 33 34 extern int gtkCacheOn; 35 extern int gtkCacheSize; 36 37 extern int gtkVfPP; 38 extern int gtkVfLAVC; 39 40 extern char *gtkDXR3Device; 41 42 extern int gtkAutoSyncOn; 43 extern int gtkAutoSync; 44 45 extern int gtkAONorm; 46 extern int gtkAOSurround; 47 extern int gtkAOExtraStereo; 48 extern float gtkAOExtraStereoMul; 49 50 extern char *gtkAOALSAMixer; 51 extern char *gtkAOALSAMixerChannel; 52 extern char *gtkAOALSADevice; 53 54 extern char *gtkAOOSSMixer; 55 extern char *gtkAOOSSMixerChannel; 56 extern char *gtkAOOSSDevice; 57 58 extern char *gtkAOESDDevice; 59 60 extern char *gtkAOSDLDriver; 61 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 extern float gtkEquChannels[6][10]; 70 71 extern int gtkSubDumpMPSub; 72 extern int gtkSubDumpSrt; 73 74 typedef struct { 75 int enabled; 76 int use_margins; 77 int top_margin; 78 int bottom_margin; 79 } gtkASS_t; 80 81 extern gtkASS_t gtkASS; 82 83 extern int gtkReplayGainOn; 84 extern int gtkReplayGainAdjustment; 85 86 extern int gtkEnablePlayBar; 87 extern int gtkShowVideoWindow; 88 89 extern int gui_save_pos; 90 extern int gui_main_pos_x; 91 extern int gui_main_pos_y; 92 extern int gui_video_pos_x; 93 extern int gui_video_pos_y; 94 extern int gui_tv_digital; 95 96 extern int guiWinID; 97 98 extern char *skinName; 99 100 extern char *fsHistory[5]; 101 102 int cfg_gui_include(m_option_t *conf, const char *file); 103 void cfg_read(void); 104 void cfg_write(void); 105 106 #endif /* MPLAYER_GUI_CFG_H */ 107