aboutsummaryrefslogtreecommitdiffstats
path: root/Project/RTDSP/frame.c
diff options
context:
space:
mode:
Diffstat (limited to 'Project/RTDSP/frame.c')
-rw-r--r--Project/RTDSP/frame.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/Project/RTDSP/frame.c b/Project/RTDSP/frame.c
index 0f506e0..ea1287b 100644
--- a/Project/RTDSP/frame.c
+++ b/Project/RTDSP/frame.c
@@ -209,7 +209,10 @@ void wait_buffer(void)
mag[i] = cabs(C[i]);
}
-
+ ifft(BUFLEN, C);
+ for (i = 0; i < BUFLEN; ++i) {
+ intermediate[i] = C[i].r;
+ }
/**********************************************************************************/