aboutsummaryrefslogtreecommitdiff
path: root/fftw~.h
diff options
context:
space:
mode:
Diffstat (limited to 'fftw~.h')
-rw-r--r--fftw~.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/fftw~.h b/fftw~.h
new file mode 100644
index 0000000..9ff9322
--- /dev/null
+++ b/fftw~.h
@@ -0,0 +1,24 @@
+#ifndef FFTW_TILDE_H_
+#define FFTW_TILDE_H_
+
+#include "fftw_config.h"
+
+#include "m_pd.h"
+
+#ifdef HAVE_LIBFFTW3F
+# include "fftw3.h"
+# include <string.h>
+#endif
+
+
+#define EXTERNAL_SETUP void
+
+static void fftw_siginvert(t_sample * s, t_int n)
+{
+ while (n!=0)
+ {
+ --n;
+ s[n]=-s[n];
+ }
+}
+#endif /* FFTW_TILDE_H_ */