[svn-commits] sruffell: branch linux/2.4 r9667 - /linux/branches/2.4/drivers/dahdi/voicebus/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Jan 20 23:29:21 CST 2011


Author: sruffell
Date: Thu Jan 20 23:29:17 2011
New Revision: 9667

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9667
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>

Origin: http://svnview.digium.com/svn/dahdi?view=rev&rev=9432

Modified:
    linux/branches/2.4/drivers/dahdi/voicebus/GpakCust.c

Modified: linux/branches/2.4/drivers/dahdi/voicebus/GpakCust.c
URL: http://svnview.digium.com/svn/dahdi/linux/branches/2.4/drivers/dahdi/voicebus/GpakCust.c?view=diff&rev=9667&r1=9666&r2=9667
==============================================================================
--- linux/branches/2.4/drivers/dahdi/voicebus/GpakCust.c (original)
+++ linux/branches/2.4/drivers/dahdi/voicebus/GpakCust.c Thu Jan 20 23:29:17 2011
@@ -708,7 +708,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