summaryrefslogtreecommitdiff
path: root/apps/plugins/pdbox/PDa/src/d_fft.c
diff options
context:
space:
mode:
authorPeter D'Hoye <peter.dhoye@gmail.com>2009-07-03 22:16:11 +0000
committerPeter D'Hoye <peter.dhoye@gmail.com>2009-07-03 22:16:11 +0000
commit0d4560cb0305029fa5f0739670286176ab47cb65 (patch)
tree9899f4324664a77e6a5884fdd1541818a28a2172 /apps/plugins/pdbox/PDa/src/d_fft.c
parenteabeb928ddfdbe5fc6379efb87d9522803310649 (diff)
downloadrockbox-0d4560cb0305029fa5f0739670286176ab47cb65.tar.gz
rockbox-0d4560cb0305029fa5f0739670286176ab47cb65.zip
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
Diffstat (limited to 'apps/plugins/pdbox/PDa/src/d_fft.c')
-rw-r--r--apps/plugins/pdbox/PDa/src/d_fft.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/plugins/pdbox/PDa/src/d_fft.c b/apps/plugins/pdbox/PDa/src/d_fft.c
index 7b70561a0e..6e2713a960 100644
--- a/apps/plugins/pdbox/PDa/src/d_fft.c
+++ b/apps/plugins/pdbox/PDa/src/d_fft.c
@@ -67,6 +67,9 @@ static t_int *sigifft_perform(t_int *w)
67 67
68static void sigfft_dspx(t_sigfft *x, t_signal **sp, t_int *(*f)(t_int *w)) 68static void sigfft_dspx(t_sigfft *x, t_signal **sp, t_int *(*f)(t_int *w))
69{ 69{
70#ifdef ROCKBOX
71 (void) x;
72#endif
70 int n = sp[0]->s_n; 73 int n = sp[0]->s_n;
71 t_sample *in1 = sp[0]->s_vec; 74 t_sample *in1 = sp[0]->s_vec;
72 t_sample *in2 = sp[1]->s_vec; 75 t_sample *in2 = sp[1]->s_vec;
@@ -150,6 +153,9 @@ static t_int *sigrfft_perform(t_int *w)
150 153
151static void sigrfft_dsp(t_sigrfft *x, t_signal **sp) 154static void sigrfft_dsp(t_sigrfft *x, t_signal **sp)
152{ 155{
156#ifdef ROCKBOX
157 (void) x;
158#endif
153 int n = sp[0]->s_n, n2 = (n>>1); 159 int n = sp[0]->s_n, n2 = (n>>1);
154 t_sample *in1 = sp[0]->s_vec; 160 t_sample *in1 = sp[0]->s_vec;
155 t_sample *out1 = sp[1]->s_vec; 161 t_sample *out1 = sp[1]->s_vec;
@@ -213,6 +219,9 @@ static t_int *sigrifft_perform(t_int *w)
213 219
214static void sigrifft_dsp(t_sigrifft *x, t_signal **sp) 220static void sigrifft_dsp(t_sigrifft *x, t_signal **sp)
215{ 221{
222#ifdef ROCKBOX
223 (void) x;
224#endif
216 int n = sp[0]->s_n, n2 = (n>>1); 225 int n = sp[0]->s_n, n2 = (n>>1);
217 t_sample *in1 = sp[0]->s_vec; 226 t_sample *in1 = sp[0]->s_vec;
218 t_sample *in2 = sp[1]->s_vec; 227 t_sample *in2 = sp[1]->s_vec;