diff options
author | Josh Blum <josh@joshknows.com> | 2011-07-21 22:18:42 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-07-21 22:18:42 -0700 |
commit | d760edf9fb851d97c972a69690b26114dd998157 (patch) | |
tree | d2adb2089083ad1865637ec4f0635ebd6920bf27 /gr-vocoder/lib/codec2/fft.c | |
parent | b192751f34ecca720adf64c90660b9e965cfd40e (diff) |
vocoder: added symbol visibility defines to gr-vocoder, builds on MSVC and linux
Diffstat (limited to 'gr-vocoder/lib/codec2/fft.c')
-rw-r--r-- | gr-vocoder/lib/codec2/fft.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gr-vocoder/lib/codec2/fft.c b/gr-vocoder/lib/codec2/fft.c index 73c46c846f..a33e4d2c8a 100644 --- a/gr-vocoder/lib/codec2/fft.c +++ b/gr-vocoder/lib/codec2/fft.c @@ -72,18 +72,18 @@ initialize_fft (int n) void fft (float x[], int n, int isign) { + int isReverse = 0; + int c; + kiss_fft_cfg cfg; if (cfg_forward == NULL) { initialize_fft (n); } - int isReverse = 0; - int c; for (c = 0; c < n * 2; c += 2) { fin[c / 2].r = x[c]; fin[c / 2].i = -x[c + 1]; } - kiss_fft_cfg cfg; if (isign == -1) { cfg = cfg_reverse; |