Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xiph/speex.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>2005-11-20 12:32:15 +0300
committerjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>2005-11-20 12:32:15 +0300
commited4e63b780325506ae52ad4e60b528a7fb6e5349 (patch)
tree9cc25421477b13e49d36fa8ec7814acb8d5cfd9a
parent2230d09be21c1c7af9e641795db25001127ef330 (diff)
Add test* programs as noinst targets. Remove warningsSpeex-1.1.11
git-svn-id: http://svn.xiph.org/trunk/speex@10408 0101bb08-14d6-0310-b084-bc0e0c8e3800
-rw-r--r--libspeex/Makefile.am11
-rw-r--r--libspeex/cb_search.c2
-rw-r--r--libspeex/testecho.c2
3 files changed, 12 insertions, 3 deletions
diff --git a/libspeex/Makefile.am b/libspeex/Makefile.am
index 749626d..da29c9e 100644
--- a/libspeex/Makefile.am
+++ b/libspeex/Makefile.am
@@ -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
diff --git a/libspeex/cb_search.c b/libspeex/cb_search.c
index f9a0d49..234dc2e 100644
--- a/libspeex/cb_search.c
+++ b/libspeex/cb_search.c
@@ -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];
diff --git a/libspeex/testecho.c b/libspeex/testecho.c
index 8b443a3..967f2e3 100644
--- a/libspeex/testecho.c
+++ b/libspeex/testecho.c
@@ -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);