Add test* programs as noinst targets. Remove warnings Speex-1.1.11
authorjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Sun, 20 Nov 2005 09:32:15 +0000 (09:32 +0000)
committerjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Sun, 20 Nov 2005 09:32:15 +0000 (09:32 +0000)
git-svn-id: http://svn.xiph.org/trunk/speex@10408 0101bb08-14d6-0310-b084-bc0e0c8e3800

libspeex/Makefile.am
libspeex/cb_search.c
libspeex/testecho.c

index 749626d..da29c9e 100644 (file)
@@ -27,3 +27,14 @@ noinst_HEADERS = lsp.h       nb_celp.h       lpc.h   lpc_bfin.h      ltp.h   quant_lsp.h \
 
 libspeex_la_LDFLAGS = -version-info @SPEEX_LT_CURRENT@:@SPEEX_LT_REVISION@:@SPEEX_LT_AGE@
 
+noinst_PROGRAMS = testenc testenc_wb testenc_uwb testdenoise testecho
+testenc_SOURCES = testenc.c
+testenc_LDADD = $(top_builddir)/libspeex/libspeex.la
+testenc_wb_SOURCES = testenc_wb.c
+testenc_wb_LDADD = $(top_builddir)/libspeex/libspeex.la
+testenc_uwb_SOURCES = testenc_uwb.c
+testenc_uwb_LDADD = $(top_builddir)/libspeex/libspeex.la
+testdenoise_SOURCES = testdenoise.c
+testdenoise_LDADD = $(top_builddir)/libspeex/libspeex.la
+testecho_SOURCES = testecho.c
+testecho_LDADD = $(top_builddir)/libspeex/libspeex.la
index f9a0d49..234dc2e 100644 (file)
@@ -424,8 +424,6 @@ int   update_target
       }
       for (j=0;j<N;j++)
       {
-         //spx_word16_t *ct = ot[best_ntarget[j]];
-         
          /*previous target (we don't care what happened before*/
          for (m=(i+1)*subvect_size;m<nsf;m++)
             nt[j][m]=ot[best_ntarget[j]][m];
index 8b443a3..967f2e3 100644 (file)
@@ -38,7 +38,7 @@ int main(int argc, char **argv)
    {
       read(echo_fd, echo_buf, NN*2);
       speex_echo_cancel(st, ref_buf, echo_buf, e_buf, noise);
-      speex_preprocess(den, e_buf, noise);
+      /*speex_preprocess(den, e_buf, noise);*/
       write(e_fd, e_buf, NN*2);
    }
    speex_echo_state_destroy(st);