summaryrefslogtreecommitdiff
path: root/mg2ec_const.h
diff options
context:
space:
mode:
authormattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-12-28 20:28:28 +0000
committermattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-12-28 20:28:28 +0000
commit9762f08c3e05e28570a32b94f6004136f464d22f (patch)
tree7779a8d97102c8bbdd90f110694b4a5680fbd727 /mg2ec_const.h
parentd37f2c1ce74bb392ba861326f20e69efb04749d5 (diff)
Updating MG2 to latest set of tweaks and optimizatons. See bug #5520 for more details on changes.
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@878 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'mg2ec_const.h')
-rw-r--r--mg2ec_const.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/mg2ec_const.h b/mg2ec_const.h
index c4e6a67..677d8a7 100644
--- a/mg2ec_const.h
+++ b/mg2ec_const.h
@@ -57,6 +57,19 @@
#define RESIDUAL_SUPRESSION_PASSES 1
#endif
+/* Treat sample as error if it has a different sign as the
+ * input signal and is this number larger in ABS() as
+ * the input-signal */
+#define MAX_SIGN_ERROR 3000
+
+/* Filter out coefficients which are smaller than this
+ * percentage of the second biggest coefficient.
+ * If you comment out this define, the filtering-code will
+ * not be used */
+#define FILTER_PERCENT 1
+
+/* Backup coefficients every this number of samples */
+#define BACKUP 256
/***************************************************************/
/* The following knobs are not implemented in the current code */