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

github.com/mumble-voip/speexdsp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Matthews <tmatth@videolan.org>2016-08-09 15:55:14 +0300
committerTristan Matthews <tmatth@videolan.org>2016-08-09 15:55:42 +0300
commite5ea11d66ff1d32b306bbb7d0b393fce3c4f41cb (patch)
tree72c24c4b80b1333d2ac2a6f71c42a804a18f4a99
parent5478241992dfd98010e12d7aba8967831438f392 (diff)
mdf: drop duplicate definition of WORD2INT
-rw-r--r--libspeexdsp/mdf.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libspeexdsp/mdf.c b/libspeexdsp/mdf.c
index 1193387..7b367f9 100644
--- a/libspeexdsp/mdf.c
+++ b/libspeexdsp/mdf.c
@@ -88,12 +88,6 @@
#define WEIGHT_SHIFT 0
#endif
-#ifdef FIXED_POINT
-#define WORD2INT(x) ((x) < -32767 ? -32768 : ((x) > 32766 ? 32767 : (x)))
-#else
-#define WORD2INT(x) ((x) < -32767.5f ? -32768 : ((x) > 32766.5f ? 32767 : floor(.5+(x))))
-#endif
-
/* If enabled, the AEC will use a foreground filter and a background filter to be more robust to double-talk
and difficult signals in general. The cost is an extra FFT and a matrix-vector multiply */
#define TWO_PATH