[xiph-commits] r10400 - trunk/speex/libspeex

jm at svn.xiph.org jm at svn.xiph.org
Fri Nov 18 01:56:00 PST 2005


Author: jm
Date: 2005-11-18 01:55:57 -0800 (Fri, 18 Nov 2005)
New Revision: 10400

Modified:
   trunk/speex/libspeex/mdf.c
Log:
less aggressive in adaptation


Modified: trunk/speex/libspeex/mdf.c
===================================================================
--- trunk/speex/libspeex/mdf.c	2005-11-18 09:15:27 UTC (rev 10399)
+++ trunk/speex/libspeex/mdf.c	2005-11-18 09:55:57 UTC (rev 10400)
@@ -325,9 +325,9 @@
          st->adapted = 1;
 
       /* Temporary adaption rate if filter is not adapted correctly */
-      adapt_rate = .3f * Sxx / (1+See);
-      if (adapt_rate>.25)
-         adapt_rate = .25;
+      adapt_rate = .2f * Sxx / (1e4+See);
+      if (adapt_rate>.2)
+         adapt_rate = .2;
       adapt_rate /= M;
       
       /* How much have we adapted so far? */



More information about the commits mailing list