Skip to content

Commit e5ea11d

Browse files
committed
mdf: drop duplicate definition of WORD2INT
1 parent 5478241 commit e5ea11d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

libspeexdsp/mdf.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,6 @@
8888
#define WEIGHT_SHIFT 0
8989
#endif
9090

91-
#ifdef FIXED_POINT
92-
#define WORD2INT(x) ((x) < -32767 ? -32768 : ((x) > 32766 ? 32767 : (x)))
93-
#else
94-
#define WORD2INT(x) ((x) < -32767.5f ? -32768 : ((x) > 32766.5f ? 32767 : floor(.5+(x))))
95-
#endif
96-
9791
/* If enabled, the AEC will use a foreground filter and a background filter to be more robust to double-talk
9892
and difficult signals in general. The cost is an extra FFT and a matrix-vector multiply */
9993
#define TWO_PATH

0 commit comments

Comments
 (0)