From 86856e80af24bcfaa4829d8d8d90c937a86e6c3f Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Thu, 7 May 2009 16:53:32 +0000 Subject: 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 --- drivers/dahdi/wctdm24xxp/base.c | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) (limited to 'drivers/dahdi/wctdm24xxp') diff --git a/drivers/dahdi/wctdm24xxp/base.c b/drivers/dahdi/wctdm24xxp/base.c index 7b21b5b..4893023 100644 --- a/drivers/dahdi/wctdm24xxp/base.c +++ b/drivers/dahdi/wctdm24xxp/base.c @@ -213,20 +213,9 @@ static int neonmwi_offlimit_cycles; /* Time in milliseconds the monitor is chec static int vpmsupport = 1; -/* - * This parameter is used to adjust the NLP type used. The options are: - * 0 : None - * 1 : Mute - * 2 : Random Noise - * 3 : Hoth Noise - * 4 : Suppression NLP - In order to use this, you must set the vpmnlpmaxsupp parameter to - * some value in order to give the amount of dB to suppress to the suppressor - */ -static int vpmnlptype = 1; -/* This is the threshold (in dB) for enabling and disabling of the NLP */ -static int vpmnlpthresh = 24; -/* See vpmnlptype = 4 for more info */ -static int vpmnlpmaxsupp = 0; +static int vpmnlptype = DEFAULT_NLPTYPE; +static int vpmnlpthresh = DEFAULT_NLPTHRESH; +static 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); -- cgit v1.2.3