diff options
author | Josh Blum | 2011-07-23 11:54:16 -0700 |
---|---|---|
committer | Josh Blum | 2011-07-23 11:54:16 -0700 |
commit | c6c773757ef16aa8edac173a5b9bca270a658b9f (patch) | |
tree | 7e3410eb08a81f2b4eec05ec42c359ad24c8d553 /gr-vocoder | |
parent | dcee8e7416b849234bc09e1ae8a2acb1d3d21e3a (diff) | |
download | gnuradio-c6c773757ef16aa8edac173a5b9bca270a658b9f.tar.gz gnuradio-c6c773757ef16aa8edac173a5b9bca270a658b9f.tar.bz2 gnuradio-c6c773757ef16aa8edac173a5b9bca270a658b9f.zip |
misc_next_branch_tweaks_to_build_on_osx_and_windows
Diffstat (limited to 'gr-vocoder')
-rw-r--r-- | gr-vocoder/lib/codec2/fft.c | 6 | ||||
-rw-r--r-- | gr-vocoder/lib/codec2/kiss_fft.h | 1 |
2 files changed, 3 insertions, 4 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; diff --git a/gr-vocoder/lib/codec2/kiss_fft.h b/gr-vocoder/lib/codec2/kiss_fft.h index 20621d8b3..64c50f4aa 100644 --- a/gr-vocoder/lib/codec2/kiss_fft.h +++ b/gr-vocoder/lib/codec2/kiss_fft.h @@ -5,7 +5,6 @@ #include <stdio.h> #include <math.h> #include <string.h> -#include <malloc.h> #ifdef __cplusplus extern "C" { |