[Asterisk-cvs] zaptel mec2.h,1.3,1.4

markster at lists.digium.com markster at lists.digium.com
Tue Nov 9 14:14:47 CST 2004


Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv23223

Modified Files:
	mec2.h 
Log Message:
Fix a couple of echo can issues (bug #2820)


Index: mec2.h
===================================================================
RCS file: /usr/cvsroot/zaptel/mec2.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- mec2.h	27 Oct 2003 17:00:04 -0000	1.3
+++ mec2.h	9 Nov 2004 19:16:18 -0000	1.4
@@ -158,6 +158,7 @@
   // reset the power computations (for y and u)
   //
   ec->Ly_i = DEFAULT_CUTOFF_I;
+  ec->Lu_i = DEFAULT_CUTOFF_I;
 
   // reset the near-end speech detector
   //
@@ -225,7 +226,7 @@
   /* push the signal on the circular buffer, too */
   add_cc_s(&ec->s_s, isig);
   ec->s_tilde_i += abs(isig);
-  ec->y_tilde_i += abs(iref) >> DEFAULT_ALPHA_ST_I;
+  ec->y_tilde_i += abs(iref) >> DEFAULT_ALPHA_YT_I;
 
   /* Add to our list of recent y_tilde's */
   add_cc_s(&ec->y_tilde_s, ec->y_tilde_i);		




More information about the svn-commits mailing list