[SCM] calf/master: + Flanger, MultiChorus: apply fixes for uninitialized variables proposed by Damon Chaplin
js at users.alioth.debian.org
js at users.alioth.debian.org
Tue May 7 15:39:34 UTC 2013
The following commit has been merged in the master branch:
commit 8587b8c314115b337d9db8ea553b8475d82de65e
Author: Krzysztof Foltman <wdev at foltman.com>
Date: Fri Jul 31 18:48:23 2009 +0100
+ Flanger, MultiChorus: apply fixes for uninitialized variables proposed by Damon Chaplin
diff --git a/src/calf/audio_fx.h b/src/calf/audio_fx.h
index d4efde7..56d08f6 100644
--- a/src/calf/audio_fx.h
+++ b/src/calf/audio_fx.h
@@ -308,7 +308,7 @@ public:
: fb(0) {}
void reset() {
delay.reset();
- last_delay_pos = 0;
+ last_delay_pos = last_actual_delay_pos = ramp_delay_pos = 0;
ramp_pos = 1024;
}
virtual void setup(int sample_rate) {
diff --git a/src/calf/modules.h b/src/calf/modules.h
index 2a62e48..29aa47e 100644
--- a/src/calf/modules.h
+++ b/src/calf/modules.h
@@ -774,6 +774,7 @@ public:
multichorus_audio_module()
{
is_active = false;
+ last_r_phase = -1;
}
void params_changed()
--
calf audio plugins packaging
More information about the pkg-multimedia-commits
mailing list