summaryrefslogtreecommitdiff
path: root/tests/test5/fft.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test5/fft.h')
-rw-r--r--tests/test5/fft.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/test5/fft.h b/tests/test5/fft.h
index 7f2f0de..02bb7de 100644
--- a/tests/test5/fft.h
+++ b/tests/test5/fft.h
@@ -1,14 +1,19 @@
#ifndef FFT_H
#define FFT_H
-#include <gtk/gtk.h>
+/* Everything here comes from Audacity 1.3.13
+ (orignally in C++ and with more genericity and functionnality)
+ Original Author : Dominic Mazzoni
+ Licenced under GPL 2.0 (see LICENCE)
+*/
-void FFT(int NumSamples, gboolean InverseTransform,
+void FFT(int NumSamples, int InverseTransform,
float *RealIn, float *ImagIn, float *RealOut, float *ImagOut);
void InitFFT();
int NumberOfBitsNeeded(int PowerOfTwo);
inline int FastReverseBits(int i, int NumBits);
int ReverseBits(int index, int NumBits);
+void PowerSpectrum(float *In, float *Out);
#endif