From 9762f08c3e05e28570a32b94f6004136f464d22f Mon Sep 17 00:00:00 2001 From: mattf Date: Wed, 28 Dec 2005 20:28:28 +0000 Subject: 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 --- mg2ec_const.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'mg2ec_const.h') 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 */ -- cgit v1.2.3