aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/mISDN/dsp.h
diff options
context:
space:
mode:
authorAndreas Eversberg <andreas@eversberg.eu>2009-05-22 11:04:45 +0000
committerDavid S. Miller <davem@davemloft.net>2009-05-25 00:51:30 -0700
commita5355c27d26001865a5ac32c868c82a523c275d3 (patch)
treefe8b1827e78537f0142abd8baf2d9cb87ed622d6 /drivers/isdn/mISDN/dsp.h
parent7df3bb8f59ca8e346bb834006c257cc367c6250a (diff)
downloadmrst-s0i3-test-a5355c27d26001865a5ac32c868c82a523c275d3.tar.gz
mrst-s0i3-test-a5355c27d26001865a5ac32c868c82a523c275d3.tar.xz
mrst-s0i3-test-a5355c27d26001865a5ac32c868c82a523c275d3.zip
mISDN: DSP now uses ring buffer for echo canceler
DSP now uses ring buffer for echo canceler. Added missing include in l1oip_codec.c Signed-off-by: Andreas Eversberg <andreas@eversberg.eu> Signed-off-by: Karsten Keil <keil@b1-systems.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/mISDN/dsp.h')
-rw-r--r--drivers/isdn/mISDN/dsp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/isdn/mISDN/dsp.h b/drivers/isdn/mISDN/dsp.h
index 98a33c58f09..0a4a362b89c 100644
--- a/drivers/isdn/mISDN/dsp.h
+++ b/drivers/isdn/mISDN/dsp.h
@@ -112,7 +112,8 @@ struct dsp_conf {
#define DSP_DTMF_NPOINTS 102
-#define ECHOCAN_BUFLEN (4*128)
+#define ECHOCAN_BUFF_SIZE 0x400 /* must be 2**n */
+#define ECHOCAN_BUFF_MASK 0x3ff /* -1 */
struct dsp_dtmf {
int treshold; /* above this is dtmf (square of) */