aboutsummaryrefslogtreecommitdiff
path: root/fftw~.h
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-09-20 11:22:29 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-09-20 11:22:29 +0000
commit6c61b72cc7be59138b59b1d64b64377fc5c54395 (patch)
tree10bb031fabe7b578a38d6cc8533bd45785fea0af /fftw~.h
library providing FFT-objects using the (fast!) libFFTWsvn2git-root
svn path=/trunk/externals/fftw/; revision=5978
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_ */