[Mplayer-cvslog] CVS: main mplayer.c,1.270,1.271

Zoltan Ponekker pontscho at mplayer.dev.hu
Sun Sep 2 21:37:48 CEST 2001


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv25787

Modified Files:
	mplayer.c 
Log Message:
fix volume

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.270
retrieving revision 1.271
diff -u -r1.270 -r1.271
--- mplayer.c	1 Sep 2001 19:43:41 -0000	1.270
+++ mplayer.c	2 Sep 2001 19:37:46 -0000	1.271
@@ -1594,6 +1594,9 @@
     case '/': {
         float mixer_l, mixer_r;
         mixer_getvolume( &mixer_l,&mixer_r );
+	#ifdef HAVE_NEW_GUI
+	 if ( use_gui ) mplShMem->Volume=( mixer_l + mixer_r ) / 2;
+	#endif
         if(c=='*' || c=='0'){
             if ( ++mixer_l > 100 ) mixer_l = 100;
             if ( ++mixer_r > 100 ) mixer_r = 100;




More information about the MPlayer-cvslog mailing list