summaryrefslogtreecommitdiff
path: root/drivers/dahdi/voicebus
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
commit83015b648f9853bef2d2e65d5e0e558cffcb0539 (patch)
tree07080eb428adc90800984ff395cdf900ca83fdfa /drivers/dahdi/voicebus
parentdde92a043c5fbe03303df52bea2d1b788431889d (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/voicebus')
-rw-r--r--drivers/dahdi/voicebus/GpakCust.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/dahdi/voicebus/GpakCust.h b/drivers/dahdi/voicebus/GpakCust.h
index db5fbdd..72cfdd4 100644
--- a/drivers/dahdi/voicebus/GpakCust.h
+++ b/drivers/dahdi/voicebus/GpakCust.h
@@ -72,6 +72,15 @@
#define VPM150M_DTMFDETECT 3
#define VPM150M_ACTIVE 4
+#define NLPTYPE_NONE 0
+#define NLPTYPE_MUTE 1
+#define NLPTYPE_RANDOM_NOISE 2
+#define HOTH_NOISE_NLPTYPE 3
+#define NLPTYPE_SUPPRESS 4
+#define DEFAULT_NLPTYPE NLPTYPE_SUPPRESS
+
+/* This is the threshold (in dB) for enabling and disabling of the NLP */
+#define DEFAULT_NLPTHRESH 24
struct vpmadt032_cmd {
struct list_head node;