[xiph-commits] r10408 - trunk/speex/libspeex
jm at svn.xiph.org
jm at svn.xiph.org
Sun Nov 20 01:32:19 PST 2005
Author: jm
Date: 2005-11-20 01:32:15 -0800 (Sun, 20 Nov 2005)
New Revision: 10408
Modified:
trunk/speex/libspeex/Makefile.am
trunk/speex/libspeex/cb_search.c
trunk/speex/libspeex/testecho.c
Log:
Add test* programs as noinst targets. Remove warnings
Modified: trunk/speex/libspeex/Makefile.am
===================================================================
--- trunk/speex/libspeex/Makefile.am 2005-11-20 09:31:17 UTC (rev 10407)
+++ trunk/speex/libspeex/Makefile.am 2005-11-20 09:32:15 UTC (rev 10408)
@@ -27,3 +27,14 @@
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
Modified: trunk/speex/libspeex/cb_search.c
===================================================================
--- trunk/speex/libspeex/cb_search.c 2005-11-20 09:31:17 UTC (rev 10407)
+++ trunk/speex/libspeex/cb_search.c 2005-11-20 09:32:15 UTC (rev 10408)
@@ -424,8 +424,6 @@
}
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];
Modified: trunk/speex/libspeex/testecho.c
===================================================================
--- trunk/speex/libspeex/testecho.c 2005-11-20 09:31:17 UTC (rev 10407)
+++ trunk/speex/libspeex/testecho.c 2005-11-20 09:32:15 UTC (rev 10408)
@@ -38,7 +38,7 @@
{
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);
More information about the commits
mailing list