Mercurial > hg > aimc
comparison src/Modules/NAP/ModuleHCL.h @ 3:decdac21cfc2
- Imported file input using libsndfile from old AIM-C and updated to the new API
- Modified the Module base class to propogate Reset() calls down the module chain.
- This required changing all Reset() functions in subclasses to ResetInternal()
- Removed some unneeded imports from the Gaussians test
author | tomwalters |
---|---|
date | Tue, 16 Feb 2010 18:00:16 +0000 |
parents | 582cbe817f2c |
children | fcbf85ce59fb |
comparison
equal
deleted
inserted
replaced
2:e91769e84be1 | 3:decdac21cfc2 |
---|---|
40 public: | 40 public: |
41 ModuleHCL(Parameters *parameters); | 41 ModuleHCL(Parameters *parameters); |
42 virtual ~ModuleHCL(); | 42 virtual ~ModuleHCL(); |
43 | 43 |
44 virtual void Process(const SignalBank &input); | 44 virtual void Process(const SignalBank &input); |
45 virtual void Reset(); | |
46 | 45 |
47 private: | 46 private: |
48 /*! \brief Prepare the module | 47 /*! \brief Prepare the module |
49 * \param input Input signal bank | 48 * \param input Input signal bank |
50 * \param output true on success false on failure | 49 * \param output true on success false on failure |
51 */ | 50 */ |
52 virtual bool InitializeInternal(const SignalBank &input); | 51 virtual bool InitializeInternal(const SignalBank &input); |
52 | |
53 virtual void ResetInternal(); | |
53 | 54 |
54 //! \brief Do lowpass filtering? | 55 //! \brief Do lowpass filtering? |
55 bool do_lowpass_; | 56 bool do_lowpass_; |
56 | 57 |
57 //! \brief Do log compression? | 58 //! \brief Do log compression? |