Port from OSS to ALSA, as OSS is pretty much dying these days.
[pitch] / pitchdetector.h
index 016cea6..fefcf67 100644 (file)
@@ -1,6 +1,12 @@
 #ifndef _PITCHDETECTOR_H
 #define _PITCHDETECTOR_H 1
 
+#include <fftw3.h>
+
+#include <complex>
+#include <vector>
+#include <utility>
+
 class PitchDetector {
 public:
        PitchDetector(unsigned sample_rate, unsigned fft_length, unsigned pad_factor, unsigned overlap);