[Speex-dev] [PATCH 2/5] configure.ac: Add --enable-resample-full-sinc-table conf flag

Jyri Sarha
Thu, 01 Sep 2011 12:30:28 -0000

Use this flag to enable resampling with full sinc table.
---
 configure.ac |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 3179521..255c0b4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -198,6 +198,11 @@ AC_ARG_ENABLE(fixed-point-debug, [
--enable-fixed-point-debug  Debug fixed-poin
   AC_DEFINE([FIXED_DEBUG], , [Debug fixed-point implementation])
 fi])

+AC_ARG_ENABLE(resample-full-sinc-table, [  --enable-resample-full-sinc-table
Resample full SINC table],
+[if test "$enableval" = yes; then
+  AC_DEFINE([RESAMPLE_FULL_SINC_TABLE], , [Resample with full SINC table (no
interpolation)])
+fi])
+
 AC_ARG_ENABLE(ti-c55x, [  --enable-ti-c55x        Enable support for TI C55X
DSP],
 [if test "$enableval" = yes; then
   has_char16=yes;
--
1.7.4.1