comparison trunk/src/Modules/BMM/ModuleGammatone.h @ 280:e55d0c225a57

- Lots of changes to make cpplint happy. It still complains about header guards, but that's pretty much it now.
author tomwalters
date Thu, 18 Feb 2010 21:12:41 +0000
parents 6b4921704eb1
children 34993448961f
comparison
equal deleted inserted replaced
279:f469d936337f 280:e55d0c225a57
21 * 21 *
22 * \author Thomas Walters <tom@acousticscale.org> 22 * \author Thomas Walters <tom@acousticscale.org>
23 * \date created 2009/11/13 23 * \date created 2009/11/13
24 * \version \$Id$ 24 * \version \$Id$
25 */ 25 */
26 #ifndef _AIMC_MODULES_BMM_GAMMATONE_H_
27 #define _AIMC_MODULES_BMM_GAMMATONE_H_
26 28
27 #include <vector> 29 #include <vector>
28 30
29 #include "Support/Module.h" 31 #include "Support/Module.h"
30 #include "Support/Parameters.h" 32 #include "Support/Parameters.h"
32 34
33 namespace aimc { 35 namespace aimc {
34 using std::vector; 36 using std::vector;
35 class ModuleGammatone : public Module { 37 class ModuleGammatone : public Module {
36 public: 38 public:
37 ModuleGammatone(Parameters *params); 39 explicit ModuleGammatone(Parameters *params);
38 virtual ~ModuleGammatone(); 40 virtual ~ModuleGammatone();
39 //! \brief Process a buffer 41 /*! \brief Process a buffer
42 */
40 virtual void Process(const SignalBank &input); 43 virtual void Process(const SignalBank &input);
41 44
42 private: 45 private:
43 virtual bool InitializeInternal(const SignalBank& input); 46 virtual bool InitializeInternal(const SignalBank& input);
44 virtual void ResetInternal(); 47 virtual void ResetInternal();
49 int num_channels_; 52 int num_channels_;
50 float max_frequency_; 53 float max_frequency_;
51 float min_frequency_; 54 float min_frequency_;
52 }; 55 };
53 } // namespace aimc 56 } // namespace aimc
57 #endif // _AIMC_MODULES_BMM_GAMMATONE_H_