[SCM] calf/master: + Filter: made inertia parameter float&log instead of int&log to avoid rounding off problems

js at users.alioth.debian.org js at users.alioth.debian.org
Tue May 7 15:37:02 UTC 2013


The following commit has been merged in the master branch:
commit 5a274e9fb496e4a508d5aa47f980709142d17a71
Author: kfoltman <kfoltman at 78b06b96-2940-0410-b7fc-879d825d01d8>
Date:   Sat Feb 2 21:44:48 2008 +0000

    + Filter: made inertia parameter float&log instead of int&log to avoid rounding off problems
    
    
    
    git-svn-id: https://calf.svn.sourceforge.net/svnroot/calf/trunk@121 78b06b96-2940-0410-b7fc-879d825d01d8

diff --git a/src/modules.cpp b/src/modules.cpp
index 1350415..c9e1984 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -98,7 +98,7 @@ parameter_properties filter_audio_module::param_props[] = {
     { 2000,      10,20000,    0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "freq", "Frequency" },
     { 0.707,  0.707,   20,    0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "res", "Resonance" },
     { 0,          0,    5,    1, PF_ENUM | PF_CTL_COMBO, filter_choices, "mode", "Mode" },
-    { 20,         5,  100,    1, PF_INT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_MSEC, NULL, "inertia", "Inertia"},
+    { 20,         5,  100,    20, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_MSEC, NULL, "inertia", "Inertia"},
 };
 
 static synth::ladspa_info filter_info = { 0x847f, "Filter", "Calf Filter", "Krzysztof Foltman", copyright, "FilterPlugin" };

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list