[SCM] calf/master: Initialise delta members in ramp classes.

js at users.alioth.debian.org js at users.alioth.debian.org
Tue May 7 15:40:35 UTC 2013


The following commit has been merged in the master branch:
commit 3889df5d1448faf5078b0a2bdd4c220823b82bf9
Author: Krzysztof Foltman <wdev at foltman.com>
Date:   Sun Jan 16 16:43:12 2011 +0000

    Initialise delta members in ramp classes.

diff --git a/src/calf/inertia.h b/src/calf/inertia.h
index d6bbd29..70ba9ed 100644
--- a/src/calf/inertia.h
+++ b/src/calf/inertia.h
@@ -35,6 +35,7 @@ public:
     linear_ramp(int _ramp_len) {
         ramp_len = _ramp_len;
         mul = (float)(1.0f / ramp_len);
+        delta = 0.f;
     }
     /// Change ramp length
     inline void set_length(int _ramp_len) {
@@ -71,6 +72,7 @@ public:
     exponential_ramp(int _ramp_len) {
         ramp_len = _ramp_len;
         root = (float)(1.0f / ramp_len);
+        delta = 1.0;
     }
     inline void set_length(int _ramp_len) {
         ramp_len = _ramp_len;

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list