diff src/Modules/NAP/ModuleHCL.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 bc394a985042
children fcbf85ce59fb
line wrap: on
line diff
--- a/src/Modules/NAP/ModuleHCL.cc	Tue Feb 16 13:23:23 2010 +0000
+++ b/src/Modules/NAP/ModuleHCL.cc	Tue Feb 16 18:00:16 2010 +0000
@@ -50,11 +50,11 @@
   time_constant_ = 1.0f / (2.0f * M_PI * lowpass_cutoff_);
   channel_count_ = input.channel_count();
   output_.Initialize(input);
-  Reset();
+  ResetInternal();
   return true;
 }
 
-void ModuleHCL::Reset() {
+void ModuleHCL::ResetInternal() {
   xn_ = 0.0f;
   yn_ = 0.0f;
   yns_.clear();