[SCM] calf/master: + Compressor: Added copyright and fixed attack/release times.

js at users.alioth.debian.org js at users.alioth.debian.org
Tue May 7 15:38:01 UTC 2013


The following commit has been merged in the master branch:
commit 2442cfb136d7e94e69f3cf72f75e79c2414afeff
Author: Thor Harald Johansen <thj at thj.no>
Date:   Fri Oct 31 01:23:21 2008 +0100

    + Compressor: Added copyright and fixed attack/release times.

diff --git a/src/calf/modules_dev.h b/src/calf/modules_dev.h
index b1c0d5d..aad5b7e 100644
--- a/src/calf/modules_dev.h
+++ b/src/calf/modules_dev.h
@@ -1,7 +1,7 @@
 /* Calf DSP Library
  * Prototype audio modules
  *
- * Copyright (C) 2001-2007 Krzysztof Foltman
+ * Copyright (C) 2008 Thor Harald Johansen <thj at thj.no>
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -45,8 +45,8 @@ public:
         numsamples += offset;
         float threshold = *params[param_threshold];
         float ratio = *params[param_ratio];
-        float attack_coeff = 1 / (*params[param_attack] * srate / 1000);
-        float release_coeff = 1 / (*params[param_release] * srate / 1000);
+        float attack_coeff = 1 / (*params[param_attack] * srate / 4000);
+        float release_coeff = 1 / (*params[param_release] * srate / 4000);
         float makeup = *params[param_makeup];
 
         if(params[param_compression] != NULL) {

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list