summaryrefslogtreecommitdiff
path: root/mg2ec_const.h
diff options
context:
space:
mode:
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 */