summaryrefslogtreecommitdiff
path: root/apps/plugins/pdbox/PDa/src/d_mayer_fft.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/pdbox/PDa/src/d_mayer_fft.c')
-rw-r--r--apps/plugins/pdbox/PDa/src/d_mayer_fft.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/pdbox/PDa/src/d_mayer_fft.c b/apps/plugins/pdbox/PDa/src/d_mayer_fft.c
index 95fb303e91..f703510e8f 100644
--- a/apps/plugins/pdbox/PDa/src/d_mayer_fft.c
+++ b/apps/plugins/pdbox/PDa/src/d_mayer_fft.c
@@ -394,7 +394,11 @@ void mayer_ifft(int n, REAL *real, REAL *imag)
394 394
395void mayer_realfft(int n, REAL *real) 395void mayer_realfft(int n, REAL *real)
396{ 396{
397#ifdef ROCKBOX
398 REAL a,b;
399#else
397 REAL a,b,c,d; 400 REAL a,b,c,d;
401#endif
398 int i,j,k; 402 int i,j,k;
399 mayer_fht(real,n); 403 mayer_fht(real,n);
400 for (i=1,j=n-1,k=n/2;i<k;i++,j--) { 404 for (i=1,j=n-1,k=n/2;i<k;i++,j--) {
@@ -407,7 +411,11 @@ void mayer_realfft(int n, REAL *real)
407 411
408void mayer_realifft(int n, REAL *real) 412void mayer_realifft(int n, REAL *real)
409{ 413{
414#ifdef ROCKBOX
415 REAL a,b;
416#else
410 REAL a,b,c,d; 417 REAL a,b,c,d;
418#endif
411 int i,j,k; 419 int i,j,k;
412 for (i=1,j=n-1,k=n/2;i<k;i++,j--) { 420 for (i=1,j=n-1,k=n/2;i<k;i++,j--) {
413 a = real[i]; 421 a = real[i];