[SCM] calf/master: Monosynth: only set frequency-related values in params_changed if note is played.

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


The following commit has been merged in the master branch:
commit 457380c144f1aee7563ec0b58d1c7d5f3da1204a
Author: Krzysztof Foltman <wdev at foltman.com>
Date:   Sun May 8 00:47:12 2011 +0100

    Monosynth: only set frequency-related values in params_changed if note is played.

diff --git a/src/monosynth.cpp b/src/monosynth.cpp
index 97248c2..5398d8f 100644
--- a/src/monosynth.cpp
+++ b/src/monosynth.cpp
@@ -722,7 +722,8 @@ void monosynth_audio_module::params_changed()
     xfade = *params[par_oscmix];
     legato = dsp::fastf2i_drm(*params[par_legato]);
     master.set_inertia(*params[par_master]);
-    set_frequency();
+    if (running)
+        set_frequency();
     if (wave1 != prev_wave1 || wave2 != prev_wave2)
         lookup_waveforms();
 }

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list