projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb7a42a
)
src/spectral/fft.c: fix in and out sizes for ooura
author
Paul Brossier
<piem@piem.org>
Tue, 10 Jul 2012 02:53:56 +0000
(19:53 -0700)
committer
Paul Brossier
<piem@piem.org>
Tue, 10 Jul 2012 02:53:56 +0000
(19:53 -0700)
src/spectral/fft.c
patch
|
blob
|
history
diff --git
a/src/spectral/fft.c
b/src/spectral/fft.c
index 6c4c0c6a6595d3332ff6073b311d469c8727131d..ded847c3180723f355e51544d5af0a96118bb8e6 100644
(file)
--- 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->
win
size);
+ s->out = AUBIO_ARRAY(double, s->
win
size);
s->ip = AUBIO_ARRAY(int , s->fft_size);
s->w = AUBIO_ARRAY(double, s->fft_size);
s->ip[0] = 0;