summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wcte12xp/base.c
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2009-05-07 16:53:32 +0000
committerShaun Ruffell <sruffell@digium.com>2009-05-07 16:53:32 +0000
commit86856e80af24bcfaa4829d8d8d90c937a86e6c3f (patch)
tree07080eb428adc90800984ff395cdf900ca83fdfa /drivers/dahdi/wcte12xp/base.c
parent68f1c21760ec8ff62c2b9e7ba126ac6522871942 (diff)
voicebus: Changing default NLP type to 'suppression'.
The 'suppression' default for the NLP provides better echo canceling performance. Also ensures that the wctdm24xxp and wcte12xp driver use the same default values. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6568 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wcte12xp/base.c')
-rw-r--r--drivers/dahdi/wcte12xp/base.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/dahdi/wcte12xp/base.c b/drivers/dahdi/wcte12xp/base.c
index b97cd5f..7ef378b 100644
--- a/drivers/dahdi/wcte12xp/base.c
+++ b/drivers/dahdi/wcte12xp/base.c
@@ -60,9 +60,11 @@ static int unchannelized = 0;
static int latency = VOICEBUS_DEFAULT_LATENCY;
int vpmsupport = 1;
static int vpmtsisupport = 0;
-int vpmnlptype = 3;
-int vpmnlpthresh = 24;
-int vpmnlpmaxsupp = 0;
+
+int vpmnlptype = DEFAULT_NLPTYPE;
+int vpmnlpthresh = DEFAULT_NLPTHRESH;
+int vpmnlpmaxsupp = DEFAULT_NLPTHRESH;
+
static int echocan_create(struct dahdi_chan *chan, struct dahdi_echocanparams *ecp,
struct dahdi_echocanparam *p, struct dahdi_echocan_state **ec);
static void echocan_free(struct dahdi_chan *chan, struct dahdi_echocan_state *ec);