From: Paul Brossier Date: Tue, 10 Jul 2012 02:53:56 +0000 (-0700) Subject: src/spectral/fft.c: fix in and out sizes for ooura X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f61c88a94a97bcfee7a50a8050d90ea7cb0dd7c2;p=aubio.git src/spectral/fft.c: fix in and out sizes for ooura --- diff --git a/src/spectral/fft.c b/src/spectral/fft.c index 6c4c0c6a..ded847c3 100644 --- a/src/spectral/fft.c +++ b/src/spectral/fft.c @@ -133,8 +133,8 @@ aubio_fft_t * new_aubio_fft (uint_t winsize) { s->winsize = winsize; s->fft_size = winsize / 2 + 1; s->compspec = new_fvec(winsize); - s->in = AUBIO_ARRAY(double, s->fft_size); - s->out = AUBIO_ARRAY(double, s->fft_size); + s->in = AUBIO_ARRAY(double, s->winsize); + s->out = AUBIO_ARRAY(double, s->winsize); s->ip = AUBIO_ARRAY(int , s->fft_size); s->w = AUBIO_ARRAY(double, s->fft_size); s->ip[0] = 0;