Mercurial > hg > aimc
diff src/Modules/BMM/ModuleGammatone.cc @ 121:3cdaa81c3aca
- Massive refactoring to make module tree stuff work. In theory we now support configuration files again. The graphics stuff is untested as yet.
author | tomwalters |
---|---|
date | Mon, 18 Oct 2010 04:42:28 +0000 |
parents | c5f5e9569863 |
children | 9fcf55c040fe |
line wrap: on
line diff
--- a/src/Modules/BMM/ModuleGammatone.cc Sun Oct 17 02:42:12 2010 +0000 +++ b/src/Modules/BMM/ModuleGammatone.cc Mon Oct 18 04:42:28 2010 +0000 @@ -52,9 +52,13 @@ state_3_.resize(num_channels_); state_4_.resize(num_channels_); for (int i = 0; i < num_channels_; ++i) { + state_1_[i].clear(); state_1_[i].resize(3, 0.0f); + state_2_[i].clear(); state_2_[i].resize(3, 0.0f); + state_3_[i].clear(); state_3_[i].resize(3, 0.0f); + state_4_[i].clear(); state_4_[i].resize(3, 0.0f); } }