[xiph-commits] r9267 - in trunk/speex: include/speex libspeex

jm at motherfish-iii.xiph.org jm at motherfish-iii.xiph.org
Tue May 10 23:22:03 PDT 2005


Author: jm
Date: 2005-05-10 23:22:02 -0700 (Tue, 10 May 2005)
New Revision: 9267

Modified:
   trunk/speex/include/speex/speex_echo.h
   trunk/speex/libspeex/mdf.c
Log:
speex_echo_reset renamed speex_echo_state_reset


Modified: trunk/speex/include/speex/speex_echo.h
===================================================================
--- trunk/speex/include/speex/speex_echo.h	2005-05-11 05:52:35 UTC (rev 9266)
+++ trunk/speex/include/speex/speex_echo.h	2005-05-11 06:22:02 UTC (rev 9267)
@@ -89,7 +89,7 @@
 void speex_echo_cancel(SpeexEchoState *st, short *ref, short *echo, short *out, float *Y);
 
 /** Reset the echo canceller state */
-void speex_echo_reset(SpeexEchoState *st);
+void speex_echo_state_reset(SpeexEchoState *st);
 
 #ifdef __cplusplus
 }

Modified: trunk/speex/libspeex/mdf.c
===================================================================
--- trunk/speex/libspeex/mdf.c	2005-05-11 05:52:35 UTC (rev 9266)
+++ trunk/speex/libspeex/mdf.c	2005-05-11 06:22:02 UTC (rev 9267)
@@ -176,7 +176,7 @@
 }
 
 /** Resets echo canceller state */
-void speex_echo_reset(SpeexEchoState *st)
+void speex_echo_state_reset(SpeexEchoState *st)
 {
    int i, M, N;
    st->cancel_count=0;
@@ -370,7 +370,7 @@
    if (st->Sey/(1+st->Syy + .01*st->See) < -1)
    {
       /*fprintf (stderr, "reset at %d\n", st->cancel_count);*/
-      speex_echo_reset(st);
+      speex_echo_state_reset(st);
       return;
    }
 



More information about the commits mailing list