diff gui/ui/main.c @ 35544:fd7a5b62326d

Add comment.
author ib
date Sun, 09 Dec 2012 14:44:58 +0000
parents 5289e495e70e
children d83d2bd5f365
line wrap: on
line diff
--- a/gui/ui/main.c	Sun Dec 09 14:42:36 2012 +0000
+++ b/gui/ui/main.c	Sun Dec 09 14:44:58 2012 +0000
@@ -306,7 +306,7 @@
 
    case evSetBalance:
         guiInfo.Balance=param;
-        mixer_setbalance( mixer,(guiInfo.Balance - 50.0 ) / 50.0 );
+        mixer_setbalance( mixer,(guiInfo.Balance - 50.0 ) / 50.0 );   // transform 0..100 to -1..1
         osd = osd_level;
         osd_level = 0;
         uiEventHandling(evSetVolume, guiInfo.Volume);