[xiph-commits] r9516 - trunk/speex/libspeex
jm at svn.xiph.org
jm at svn.xiph.org
Sun Jun 26 23:57:03 PDT 2005
Author: jm
Date: 2005-06-26 23:57:01 -0700 (Sun, 26 Jun 2005)
New Revision: 9516
Modified:
trunk/speex/libspeex/mdf.c
Log:
Should fix the de-adaptation problem caused by sinusoids
Modified: trunk/speex/libspeex/mdf.c
===================================================================
--- trunk/speex/libspeex/mdf.c 2005-06-27 06:55:06 UTC (rev 9515)
+++ trunk/speex/libspeex/mdf.c 2005-06-27 06:57:01 UTC (rev 9516)
@@ -420,7 +420,7 @@
/* Update frequency-dependent energy ratio with the total energy ratio */
for (i=0;i<=st->frame_size;i++)
{
- st->fratio[i] = (.2*ESR+.8*min(ESR,st->fratio[i]));
+ st->fratio[i] = min(ESR,st->fratio[i]);
}
if (st->adapted)
More information about the commits
mailing list