Skip to content

Commit

Permalink
mISDN: DSP now uses ring buffer for echo canceler
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andreas Eversberg authored and David S. Miller committed May 25, 2009
1 parent 7df3bb8 commit a5355c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/isdn/mISDN/dsp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) */
Expand Down
1 change: 1 addition & 0 deletions drivers/isdn/mISDN/l1oip_codec.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ NOTE: The bytes are handled as they are law-encoded.

#include <linux/vmalloc.h>
#include <linux/mISDNif.h>
#include <linux/in.h>
#include "core.h"
#include "l1oip.h"

Expand Down

0 comments on commit a5355c2

Please sign in to comment.