[MPlayer-cvslog] r37064 - trunk/gui/interface.c

ib subversion at mplayerhq.hu
Tue Mar 25 13:41:20 CET 2014


Author: ib
Date: Tue Mar 25 13:41:20 2014
New Revision: 37064

Log:
Re-enable balance start value (skin default).

This has been temporarily disabled in r37060
and can be controlled now by guiInfo member
AudioPassthrough.

Modified:
   trunk/gui/interface.c

Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c	Tue Mar 25 13:27:17 2014	(r37063)
+++ trunk/gui/interface.c	Tue Mar 25 13:41:20 2014	(r37064)
@@ -721,9 +721,8 @@ int gui(int what, void *data)
         if (last_balance < 0.0f) {
             uiEvent(ivSetVolume, guiInfo.Volume);
 
-            // DISABLED UNTIL BUGFIX IN MIXER.C/AF_FORMAT.C FOR AC3 AUDIO
-            //if (guiInfo.AudioChannels? =?= 2)
-            //    uiEvent(ivSetBalance, guiInfo.Balance);
+            if (guiInfo.AudioChannels == 2 && !guiInfo.AudioPassthrough)
+                uiEvent(ivSetBalance, guiInfo.Balance);
 
             last_balance = guiInfo.Balance;
         }


More information about the MPlayer-cvslog mailing list