diff options
author | kpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-04-10 16:35:01 +0000 |
---|---|---|
committer | kpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-04-10 16:35:01 +0000 |
commit | cd019ac1ab9c46e0243da1d8bbafd5a282582b9f (patch) | |
tree | 82733b4342f6550d3676c971cc97eaf018c88dda /mg2ec.h | |
parent | 07cc0442b7572b4a2d9284f7ea6e54ce2aa2d836 (diff) |
suppress annoying message that is only useful for developers :-)
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@999 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'mg2ec.h')
-rw-r--r-- | mg2ec.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -59,6 +59,9 @@ /* Uncomment to generate per-sample statistics - this will severely degrade system performance and audio quality */ /* #define MEC2_STATS_DETAILED */ +/* Uncomment to generate per-call DC bias offset messages */ +/* #define MEC2_DCBIAS_MESSAGE */ + /* Get optimized routines for math */ #include "arith.h" @@ -263,7 +266,7 @@ static inline void init_cc(struct echo_can_state *ec, int N, int maxy, int maxu) static inline void echo_can_free(struct echo_can_state *ec) { -#ifdef DC_NORMALIZE +#if defined(DC_NORMALIZE) && defined(MEC2_DCBIAS_MESSAGE) printk("EC: DC bias calculated: %d V\n", ec->dc_estimate >> 15); #endif FREE(ec); |