[SCM] calf/master: Fix broken band issue in EQ plugins.

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 c50f58cad12ee2d16676ac8a13d995e3376b5cf8
Author: Krzysztof Foltman <wdev at foltman.com>
Date:   Sat Mar 19 22:27:14 2011 +0000

    Fix broken band issue in EQ plugins.

diff --git a/src/modules_eq.cpp b/src/modules_eq.cpp
index 35a1a80..177b7fa 100644
--- a/src/modules_eq.cpp
+++ b/src/modules_eq.cpp
@@ -38,6 +38,15 @@ equalizerNband_audio_module<BaseClass, has_lphp>::equalizerNband_audio_module()
     is_active = false;
     srate = 0;
     last_generation = 0;
+    hp_freq_old = lp_freq_old = 0;
+    hs_freq_old = ls_freq_old = 0;
+    hs_level_old = ls_level_old = 0;
+    for (int i = 0; i < AM::PeakBands; i++)
+    {
+        p_freq_old[i] = 0;
+        p_level_old[i] = 0;
+        p_q_old[i] = 0;
+    }
 }
 
 template<class BaseClass, bool has_lphp>

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list