comparison AutocorrelationProcessor.h @ 44:a908a5a56267

Some unsigned -> int (while bug hunting)
author Chris Cannam
date Thu, 25 Sep 2014 15:42:15 +0100
parents 4cf2d163127b
children
comparison
equal deleted inserted replaced
43:4cf2d163127b 44:a908a5a56267
20 20
21 typedef std::vector< std::vector<float> > AutoCorrelation; 21 typedef std::vector< std::vector<float> > AutoCorrelation;
22 22
23 class AutocorrelationProcessor{ 23 class AutocorrelationProcessor{
24 public: 24 public:
25 AutocorrelationProcessor(const size_t &windowLength, const unsigned int &hopSize); 25 AutocorrelationProcessor(int windowLength, int hopSize);
26 ~AutocorrelationProcessor(); 26 ~AutocorrelationProcessor();
27 AutoCorrelation process(float * input, const size_t &inputLength) const; 27 AutoCorrelation process(float * input, int inputLength) const;
28 private: 28 private:
29 size_t m_windowLength; 29 int m_windowLength;
30 unsigned int m_hopSize; 30 int m_hopSize;
31 }; 31 };
32 32
33 #endif /* defined(__Tempogram__Autocorrelation__) */ 33 #endif /* defined(__Tempogram__Autocorrelation__) */