[SCM] calf/master: + Updated ChangeLog + GUI: possibly better heurestic to find parameter value length

js at users.alioth.debian.org js at users.alioth.debian.org
Tue May 7 15:36:51 UTC 2013


The following commit has been merged in the master branch:
commit 12203d5f0ed5509d21f2461d71171c2602d69e10
Author: kfoltman <kfoltman at 78b06b96-2940-0410-b7fc-879d825d01d8>
Date:   Sat Dec 29 22:59:05 2007 +0000

    + Updated ChangeLog
    + GUI: possibly better heurestic to find parameter value length
    
    
    
    git-svn-id: https://calf.svn.sourceforge.net/svnroot/calf/trunk@58 78b06b96-2940-0410-b7fc-879d825d01d8

diff --git a/ChangeLog b/ChangeLog
index 0affc45..59fc9f3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -13,5 +13,6 @@ this case)
 + Knob: new GTK+ control based on GtkRange, with my primitive bitmap set
 (generated with Python and Cairo)
 + Organ: added a GUI too, very provisional
-+ new effect: Rotary Speaker (split off Organ), unoptimized so far (uses
-trig function in inner loop, icky!)
++ new effect: Rotary Speaker (split off Organ)
++ denormal fixes
+
diff --git a/src/giface.cpp b/src/giface.cpp
index 08cb8ae..919ee9a 100644
--- a/src/giface.cpp
+++ b/src/giface.cpp
@@ -101,7 +101,7 @@ int parameter_properties::get_char_count() const
         len = std::max(len, strlen(buf)) + 2;
         return (int)len;
     }
-    return std::max(to_string(min).length(), std::max(to_string(max).length(), to_string(max - 0.0000001).length()));
+    return std::max(to_string(min).length(), std::max(to_string(max).length(), to_string(max * 0.999999).length()));
 }
 
 std::string parameter_properties::to_string(float value) const

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list