[svn-commits] sruffell: linux/trunk r9432 - /linux/trunk/drivers/dahdi/voicebus/GpakCust.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed Oct 20 07:22:39 CDT 2010
Author: sruffell
Date: Wed Oct 20 07:22:35 2010
New Revision: 9432
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9432
Log:
vpmadt032: Honor the CONFIG_DAHDI_NO_ECHOCAN_DISABLE flag.
Setting this configuration option would not have had any impact when a
hardware echo canceler was in use.
Signed-off-by: Shaun Ruffell <sruffell at digium.com>
Acked-by: Kinsey Moore <kmoore at digium.com>
Acked-by: Russ Meyerriecks <rmeyerriecks at digium.com>
Modified:
linux/trunk/drivers/dahdi/voicebus/GpakCust.c
Modified: linux/trunk/drivers/dahdi/voicebus/GpakCust.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/voicebus/GpakCust.c?view=diff&rev=9432&r1=9431&r2=9432
==============================================================================
--- linux/trunk/drivers/dahdi/voicebus/GpakCust.c (original)
+++ linux/trunk/drivers/dahdi/voicebus/GpakCust.c Wed Oct 20 07:22:35 2010
@@ -759,7 +759,13 @@
p->EcanTapLength = 1024;
p->EcanNlpType = DEFAULT_NLPTYPE;
p->EcanAdaptEnable = 1;
+
+#ifdef CONFIG_DAHDI_NO_ECHOCAN_DISABLE
+ p->EcanG165DetEnable = 0;
+#else
p->EcanG165DetEnable = 1;
+#endif
+
p->EcanDblTalkThresh = 6;
p->EcanMaxDoubleTalkThres = 40;
p->EcanNlpThreshold = DEFAULT_NLPTHRESH;
More information about the svn-commits
mailing list