From 0d4560cb0305029fa5f0739670286176ab47cb65 Mon Sep 17 00:00:00 2001 From: Peter D'Hoye Date: Fri, 3 Jul 2009 22:16:11 +0000 Subject: Accept FS #10244 by Wincent Balin: more pdbox work done for GSoC; also some keyword and line-ending fixes by me git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21626 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/pdbox/PDa/src/d_imayer_fft.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'apps/plugins/pdbox/PDa/src/d_imayer_fft.c') diff --git a/apps/plugins/pdbox/PDa/src/d_imayer_fft.c b/apps/plugins/pdbox/PDa/src/d_imayer_fft.c index 05d944ed44..3e07eac49e 100644 --- a/apps/plugins/pdbox/PDa/src/d_imayer_fft.c +++ b/apps/plugins/pdbox/PDa/src/d_imayer_fft.c @@ -95,7 +95,9 @@ char mtrig_algorithm[] = "Simple"; #define TRIG_TAB_SIZE 22 +#ifndef ROCKBOX static long long halsec[TRIG_TAB_SIZE]= {1,2,3}; +#endif #define FFTmult(x,y) mult(x,y) @@ -286,7 +288,11 @@ void imayer_ifft(int n, t_fixed *real, t_fixed *imag) void imayer_realfft(int n, t_fixed *real) { +#ifdef ROCKBOX + t_fixed a,b; +#else t_fixed a,b,c,d; +#endif int i,j,k; imayer_fht(real,n); for (i=1,j=n-1,k=n/2;i