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

jm at svn.xiph.org jm at svn.xiph.org
Sat Aug 5 05:24:47 PDT 2006


Author: jm
Date: 2006-08-05 05:24:44 -0700 (Sat, 05 Aug 2006)
New Revision: 11733

Modified:
   trunk/speex/libspeex/preprocess.c
Log:
fixed a typo (patch by dezzy)


Modified: trunk/speex/libspeex/preprocess.c
===================================================================
--- trunk/speex/libspeex/preprocess.c	2006-08-04 21:13:02 UTC (rev 11732)
+++ trunk/speex/libspeex/preprocess.c	2006-08-05 12:24:44 UTC (rev 11733)
@@ -392,7 +392,7 @@
          
          /*speech_var = sqrt(speech_var*noise_var);
            noise_var = speech_var;*/
-         if (speech_var < .05f*speech_var)
+         if (noise_var < .05f*speech_var)
             noise_var = .05f*speech_var; 
          if (speech_var < .05f*noise_var)
             speech_var = .05f*noise_var;



More information about the commits mailing list