From f7a30a4b081537e3908bec72bbc4312e76f28ab9 Mon Sep 17 00:00:00 2001 From: Dave Hooper Date: Mon, 22 Feb 2010 23:45:38 +0000 Subject: [PATCH] kiss_fftr appears to perform two real-valued ffts in parallel -- so feed it only one signal of size N/2 (as opposed to splitting a single signal of size N into two interleaved parts which is what it seemed to be doing before) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24865 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/fft/fft.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/plugins/fft/fft.c b/apps/plugins/fft/fft.c index 93568ab156..f57d2ab4dd 100644 --- a/apps/plugins/fft/fft.c +++ b/apps/plugins/fft/fft.c @@ -1057,6 +1057,8 @@ void input_thread_entry(void) input[fft_idx] = left; fft_idx++; + input[fft_idx] = 0; + fft_idx++; if (fft_idx == ARRAYSIZE_IN) break;