[Speex-dev] Ugly way to save and restore echo-state

Ard van Breemen ard at kwaak.net
Thu Aug 26 06:44:12 PDT 2004


Heh,
It is simple, but it seems to work more or less.
Since I control the adapt_rate from my application, it will work
ok. But people using the plain library might want to reset the
cancel count after loading. If you set the cancel count back at
0, it will not adapt for the first 4 frames or so.

Anyway, read and shiver. It is a quick hack I know :-)

But the need to be able to save and restore filter settings
remain I guess.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: speexecho.c
Type: text/x-csrc
Size: 2267 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20040826/b7dfb2e7/speexecho.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: speexecho.h
Type: text/x-chdr
Size: 213 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20040826/b7dfb2e7/speexecho.h


More information about the Speex-dev mailing list