oops..
authorjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Sun, 18 Dec 2005 12:54:54 +0000 (12:54 +0000)
committerjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Sun, 18 Dec 2005 12:54:54 +0000 (12:54 +0000)
git-svn-id: http://svn.xiph.org/trunk/speex@10635 0101bb08-14d6-0310-b084-bc0e0c8e3800

libspeex/mdf.c

index ed74fe8..a863250 100644 (file)
@@ -495,7 +495,7 @@ void speex_echo_cancel(SpeexEchoState *st, short *ref, short *echo, short *out,
       if (Sxx > SHR32(See,2))
          Sxx = SHR32(See,2);
 #else
-      if (Sxx > .25See)
+      if (Sxx > .25*See)
          Sxx = .25*See;      
 #endif
       adapt_rate = FLOAT_EXTRACT16(FLOAT_SHL(FLOAT_DIV32(MULT16_32_Q15(M_1,Sxx), See),15));