[SCM] calf/master: + Compressor: Fixed attack/decay to follow samplerate. Makeup gain now working.

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


The following commit has been merged in the master branch:
commit 5a68491fa37cdbf901fbe60ff78ca7eb1dcfccff
Author: Thor Harald Johansen <thj at thj.no>
Date:   Thu Oct 30 23:12:00 2008 +0100

    + Compressor: Fixed attack/decay to follow samplerate. Makeup gain now working.

diff --git a/src/calf/modules_dev.h b/src/calf/modules_dev.h
index 40a0154..380afbc 100644
--- a/src/calf/modules_dev.h
+++ b/src/calf/modules_dev.h
@@ -76,6 +76,10 @@ public:
     static const char *get_name() { return "compressor"; }
     static const char *get_id() { return "compressor"; }
     static const char *get_label() { return "Compressor"; }
+
+    void set_sample_rate(uint32_t sr) {
+            srate = sr;
+    }
 private:
     float aim, target;
 };

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list