diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2006-09-20 11:22:29 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2006-09-20 11:22:29 +0000 |
commit | 6c61b72cc7be59138b59b1d64b64377fc5c54395 (patch) | |
tree | 10bb031fabe7b578a38d6cc8533bd45785fea0af /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~.h | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -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_ */ |