comparison src/Modules/Features/ModuleGaussians.cc @ 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 e91769e84be1
children 8c859ef1fb75
comparison
equal deleted inserted replaced
2:e91769e84be1 3:decdac21cfc2
75 m_pSpectralProfile.resize(m_iNumChannels, 0.0f); 75 m_pSpectralProfile.resize(m_iNumChannels, 0.0f);
76 76
77 return true; 77 return true;
78 } 78 }
79 79
80 void ModuleGaussians::Reset() { 80 void ModuleGaussians::ResetInternal() {
81 m_pSpectralProfile.clear(); 81 m_pSpectralProfile.clear();
82 m_pSpectralProfile.resize(m_iNumChannels, 0.0f); 82 m_pSpectralProfile.resize(m_iNumChannels, 0.0f);
83 } 83 }
84 84
85 void ModuleGaussians::Process(const SignalBank &input) { 85 void ModuleGaussians::Process(const SignalBank &input) {