diff options
Diffstat (limited to 'libspeex/kiss_fft.c')
-rw-r--r-- | libspeex/kiss_fft.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libspeex/kiss_fft.c b/libspeex/kiss_fft.c index 775a257..62904cd 100644 --- a/libspeex/kiss_fft.c +++ b/libspeex/kiss_fft.c @@ -19,7 +19,8 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND #endif #include "_kiss_fft_guts.h" -#include "misc.h" +#include "arch.h" +#include "os_support.h" /* The guts header contains all the multiplication and addition macros that are defined for fixed or floating point complex numbers. It also delares the kf_ internal functions. @@ -86,7 +87,7 @@ static void kf_bfly4( kiss_fft_cpx * Fout, const size_t fstride, const kiss_fft_cfg st, - const size_t m, + int m, int N, int mm ) @@ -290,7 +291,7 @@ static void kf_bfly_generic( /*CHECKBUF(scratchbuf,nscratchbuf,p);*/ if (p>17) - speex_error("KissFFT: max radix supported is 17"); + speex_fatal("KissFFT: max radix supported is 17"); for ( u=0; u<m; ++u ) { k=u; @@ -505,7 +506,7 @@ void kiss_fft_stride(kiss_fft_cfg st,const kiss_fft_cpx *fin,kiss_fft_cpx *fout, { if (fin == fout) { - speex_error("In-place FFT not supported"); + speex_fatal("In-place FFT not supported"); /*CHECKBUF(tmpbuf,ntmpbuf,st->nfft); kf_work(tmpbuf,fin,1,in_stride, st->factors,st); speex_move(fout,tmpbuf,sizeof(kiss_fft_cpx)*st->nfft);*/ |