[Speex-dev] testecho fix

Ralph Giles giles at xiph.org
Tue Dec 20 09:58:26 PST 2005


BTW, in checking the -ansi stuff, I noticed the following warning:

testecho.c: In function `main':
testecho.c:40: warning: passing argument 5 of `speex_echo_cancel' from incompatible pointer type

Looks like you forgot to update this after changing the working array 
type. Just-guessing patch attached.

 -r
-------------- next part --------------
Index: libspeex/testecho.c
===================================================================
--- libspeex/testecho.c	(revision 10661)
+++ libspeex/testecho.c	(working copy)
@@ -17,7 +17,7 @@
 int main(int argc, char **argv)
 {
    int echo_fd, ref_fd, e_fd;
-   float noise[NN+1];
+   spx_int32_t noise[NN+1];
    short echo_buf[NN], ref_buf[NN], e_buf[NN];
    SpeexEchoState *st;
    SpeexPreprocessState *den;


More information about the Speex-dev mailing list