diff options
author | jm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800> | 2007-03-20 16:14:44 +0300 |
---|---|---|
committer | jm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800> | 2007-03-20 16:14:44 +0300 |
commit | 7cff7b530a6b658d654f579dc01952b6fb632498 (patch) | |
tree | 0e6668185596c1c07c1fa273cae7071504dd8791 /include/speex | |
parent | 1686e7eebe380cde25dc858521854dc3277dfa85 (diff) |
Resampler can now compile outside of Speex in fixed-point too.
git-svn-id: http://svn.xiph.org/trunk/speex@12781 0101bb08-14d6-0310-b084-bc0e0c8e3800
Diffstat (limited to 'include/speex')
-rw-r--r-- | include/speex/speex_resampler.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/include/speex/speex_resampler.h b/include/speex/speex_resampler.h index 4bea16c..2159be8 100644 --- a/include/speex/speex_resampler.h +++ b/include/speex/speex_resampler.h @@ -78,20 +78,7 @@ #define spx_int32_t int #define spx_uint16_t unsigned short #define spx_uint32_t unsigned int - -#ifdef FIXED_POINT -#define spx_word16_t spx_int16_t -#define spx_word32_t spx_int32_t - -#else /* FIXED_POINT */ - -#define spx_word16_t float -#define spx_word32_t float -#define MULT16_16(a,b) ((a)*(b)) -#define MULT16_32_Q15(a,b) ((a)*(b)) -#define PSHR32(a,b) (a) -#endif /* FIXED_POINT */ - + #else /* OUTSIDE_SPEEX */ #include "speex/speex_types.h" |