diff options
author | Dave Hooper <dave@beermex.com> | 2010-02-22 23:45:38 +0000 |
---|---|---|
committer | Dave Hooper <dave@beermex.com> | 2010-02-22 23:45:38 +0000 |
commit | f7a30a4b081537e3908bec72bbc4312e76f28ab9 (patch) | |
tree | d07095031d4ee6dce1e87dc1c2fce69a6f099b40 | |
parent | 0b7dcd69c801a7439de5bfc53ae4005ec3846634 (diff) |
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
-rw-r--r-- | apps/plugins/fft/fft.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |