[asterisk-commits] mnicholson: trunk r342606 - in /trunk: ./ main/dsp.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Oct 27 15:11:15 CDT 2011


Author: mnicholson
Date: Thu Oct 27 15:11:11 2011
New Revision: 342606

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=342606
Log:
tweak the v21 detector to detect an additional pattern of hits and misses
........

Merged revisions 342605 from http://svn.asterisk.org/svn/asterisk/branches/10

Modified:
    trunk/   (props changed)
    trunk/main/dsp.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-10-merged' - no diff available.

Modified: trunk/main/dsp.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/dsp.c?view=diff&rev=342606&r1=342605&r2=342606
==============================================================================
--- trunk/main/dsp.c (original)
+++ trunk/main/dsp.c Thu Oct 27 15:11:11 2011
@@ -631,7 +631,7 @@
 		}
 
 		if (hit) {
-			if (s->miss_count == 3) {
+			if (s->miss_count == 3 || (s->hit_count == 1 && s->miss_count == 2)) {
 				s->hit_count++;
 			} else {
 				s->hit_count = 1;




More information about the asterisk-commits mailing list