diff options
author | Andreas Eversberg <andreas@eversberg.eu> | 2009-05-22 07:04:45 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-25 03:51:30 -0400 |
commit | a5355c27d26001865a5ac32c868c82a523c275d3 (patch) | |
tree | fe8b1827e78537f0142abd8baf2d9cb87ed622d6 /drivers/isdn | |
parent | 7df3bb8f59ca8e346bb834006c257cc367c6250a (diff) |
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')
-rw-r--r-- | drivers/isdn/mISDN/dsp.h | 3 | ||||
-rw-r--r-- | drivers/isdn/mISDN/l1oip_codec.c | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/drivers/isdn/mISDN/dsp.h b/drivers/isdn/mISDN/dsp.h index 98a33c58f091..0a4a362b89ce 100644 --- a/drivers/isdn/mISDN/dsp.h +++ b/drivers/isdn/mISDN/dsp.h | |||
@@ -112,7 +112,8 @@ struct dsp_conf { | |||
112 | 112 | ||
113 | #define DSP_DTMF_NPOINTS 102 | 113 | #define DSP_DTMF_NPOINTS 102 |
114 | 114 | ||
115 | #define ECHOCAN_BUFLEN (4*128) | 115 | #define ECHOCAN_BUFF_SIZE 0x400 /* must be 2**n */ |
116 | #define ECHOCAN_BUFF_MASK 0x3ff /* -1 */ | ||
116 | 117 | ||
117 | struct dsp_dtmf { | 118 | struct dsp_dtmf { |
118 | int treshold; /* above this is dtmf (square of) */ | 119 | int treshold; /* above this is dtmf (square of) */ |
diff --git a/drivers/isdn/mISDN/l1oip_codec.c b/drivers/isdn/mISDN/l1oip_codec.c index e4ecba3d48df..bbfd1b863ed3 100644 --- a/drivers/isdn/mISDN/l1oip_codec.c +++ b/drivers/isdn/mISDN/l1oip_codec.c | |||
@@ -48,6 +48,7 @@ NOTE: The bytes are handled as they are law-encoded. | |||
48 | 48 | ||
49 | #include <linux/vmalloc.h> | 49 | #include <linux/vmalloc.h> |
50 | #include <linux/mISDNif.h> | 50 | #include <linux/mISDNif.h> |
51 | #include <linux/in.h> | ||
51 | #include "core.h" | 52 | #include "core.h" |
52 | #include "l1oip.h" | 53 | #include "l1oip.h" |
53 | 54 | ||