diff options
Diffstat (limited to 'gr-vocoder/lib/codec2')
-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 73c46c846..a33e4d2c8 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; |