Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : mixer

Dir     : e_modules/mixer


Modified Files:
        e_mod_main.c 


Log Message:
Fix slider value not setting correctly.

===================================================================
RCS file: /cvs/e/e_modules/mixer/e_mod_main.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- e_mod_main.c        11 Sep 2006 15:24:11 -0000      1.17
+++ e_mod_main.c        11 Sep 2006 15:39:41 -0000      1.18
@@ -435,7 +435,7 @@
             double v;
             
             vol = inst->mixer->mix_sys->get_volume(ci->card_id, 
ci->channel_id);
-            v = ((double)vol) / 100;
+            v = (1.0 - ((double)vol / 100));
             e_slider_value_set(win->slider, v);
          }
        



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to