[dahdi-commits] kpfleming: branch linux/kpfleming/echocan_work r6439 - /linux/team/kpfleming/...
    SVN commits to the DAHDI project 
    dahdi-commits at lists.digium.com
       
    Tue Apr 21 17:53:41 CDT 2009
    
    
  
Author: kpfleming
Date: Tue Apr 21 17:53:37 2009
New Revision: 6439
URL: http://svn.digium.com/svn-view/dahdi?view=rev&rev=6439
Log:
make CED detector more sensitive to low signal levels
Modified:
    linux/team/kpfleming/echocan_work/drivers/dahdi/ecdis.h
Modified: linux/team/kpfleming/echocan_work/drivers/dahdi/ecdis.h
URL: http://svn.digium.com/svn-view/dahdi/linux/team/kpfleming/echocan_work/drivers/dahdi/ecdis.h?view=diff&rev=6439&r1=6438&r2=6439
==============================================================================
--- linux/team/kpfleming/echocan_work/drivers/dahdi/ecdis.h (original)
+++ linux/team/kpfleming/echocan_work/drivers/dahdi/ecdis.h Tue Apr 21 17:53:37 2009
@@ -66,7 +66,7 @@
 	   blip every time the phase reverses */
         det->channel_level += ((abs(amp) - det->channel_level) >> 5);
 	det->notch_level += ((abs(notched) - det->notch_level) >> 4);
-  	if (det->channel_level > 280)
+  	if (det->channel_level >= 70)
 	{
 	    /* There is adequate energy in the channel. Is it mostly at 2100Hz? */
 	    if (det->notch_level*6 < det->channel_level)
    
    
More information about the dahdi-commits
mailing list