From f61c88a94a97bcfee7a50a8050d90ea7cb0dd7c2 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Mon, 9 Jul 2012 19:53:56 -0700 Subject: [PATCH] src/spectral/fft.c: fix in and out sizes for ooura --- src/spectral/fft.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.26.2