Mercurial > mplayer.hg
view Gui/cfg.h @ 20752:0617c67ad68f
Fix code that cuts audio data if the filters produce too much.
It incorrectly used the channel count and sample size values from the
decoder even though the filters can change those.
author | uau |
---|---|
date | Tue, 07 Nov 2006 23:16:55 +0000 |
parents | 18ba5bc68f40 |
children | 47cc96df63d0 |
line wrap: on
line source
#ifndef __CFG_H #define __CFG_H extern int gtkEnableAudioEqualizer; extern int gtkVopPP; extern int gtkVopLAVC; 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; extern int ass_enabled; extern int ass_use_margins; extern int ass_top_margin; extern int ass_bottom_margin; #endif extern int cfg_read( void ); extern int cfg_write( void ); #endif