[Speex-dev] [PATCH] Echo state reset

Aron Rosenberg arosenberg at sightspeed.com
Wed Dec 5 13:41:39 PST 2007


                We have been using the following patch in our build of
speex for a while. It runs inside of speex_echo_state_reset. Nobody here
remembers why we made it in the first place or if it is still useful, so
we figured we would post it and ask. The patch is against SVN head.

 

Index: mdf.c

===================================================================

--- mdf.c              (revision 14271)

+++ mdf.c           (working copy)

@@ -510,6 +510,8 @@

 #endif

    for (i=0;i<N*(M+1);i++)

       st->X[i] = 0;

+   for (i=0;i<N;i++)

+      st->PHI[i] = 0;

    for (i=0;i<=st->frame_size;i++)

    {

       st->power[i] = 0;

 

---------------------------------------------

Aron Rosenberg

Founder and CTO

SightSpeed - http://www.sightspeed.com/ <http://www.sightspeed.com/> 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20071205/60660480/attachment.htm


More information about the Speex-dev mailing list