[MPlayer-cvslog] r37248 - trunk/gui/win32/interface.c

ib subversion at mplayerhq.hu
Wed Aug 6 18:36:30 CEST 2014


Author: ib
Date: Wed Aug  6 18:36:30 2014
New Revision: 37248

Log:
Remove pointless code.

Volume will be set exactly like this by the code just following.

Reported by Stephen Sheldon, sfsheldo gmail com.

Modified:
   trunk/gui/win32/interface.c

Modified: trunk/gui/win32/interface.c
==============================================================================
--- trunk/gui/win32/interface.c	Wed Aug  6 18:35:38 2014	(r37247)
+++ trunk/gui/win32/interface.c	Wed Aug  6 18:36:30 2014	(r37248)
@@ -321,9 +321,6 @@ static void guiSetEvent(int event)
             if (guiInfo.Playing == GUI_STOP)
                 break;
 
-            if (guiInfo.Balance == 50.0f)
-                mixer_setvolume(mixer, guiInfo.Volume, guiInfo.Volume);
-
             l = guiInfo.Volume * (100.0 - guiInfo.Balance) / 50.0;
             r = guiInfo.Volume * guiInfo.Balance / 50.0;
 


More information about the MPlayer-cvslog mailing list