Commit a5355c27 authored by Andreas Eversberg's avatar Andreas Eversberg Committed by David S. Miller

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: default avatarAndreas Eversberg <andreas@eversberg.eu>
Signed-off-by: default avatarKarsten Keil <keil@b1-systems.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7df3bb8f
...@@ -112,7 +112,8 @@ struct dsp_conf { ...@@ -112,7 +112,8 @@ struct dsp_conf {
#define DSP_DTMF_NPOINTS 102 #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 { struct dsp_dtmf {
int treshold; /* above this is dtmf (square of) */ int treshold; /* above this is dtmf (square of) */
......
...@@ -48,6 +48,7 @@ NOTE: The bytes are handled as they are law-encoded. ...@@ -48,6 +48,7 @@ NOTE: The bytes are handled as they are law-encoded.
#include <linux/vmalloc.h> #include <linux/vmalloc.h>
#include <linux/mISDNif.h> #include <linux/mISDNif.h>
#include <linux/in.h>
#include "core.h" #include "core.h"
#include "l1oip.h" #include "l1oip.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment