aboutsummaryrefslogtreecommitdiffstats
path: root/ofxMaxim/ofxMaxim/libs/maxiFFT.h
diff options
context:
space:
mode:
Diffstat (limited to 'ofxMaxim/ofxMaxim/libs/maxiFFT.h')
-rw-r--r--ofxMaxim/ofxMaxim/libs/maxiFFT.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ofxMaxim/ofxMaxim/libs/maxiFFT.h b/ofxMaxim/ofxMaxim/libs/maxiFFT.h
index 6c07089..8a34c0d 100644
--- a/ofxMaxim/ofxMaxim/libs/maxiFFT.h
+++ b/ofxMaxim/ofxMaxim/libs/maxiFFT.h
@@ -42,7 +42,8 @@ class maxiFFT {
public:
maxiFFT(){
- _fft = 0;
+ _fft = NULL;
+ buffer = magnitudes = phases = window = avgPower = NULL;
};
~maxiFFT();
void setup(int fftSize, int windowSize, int hopSize);