comparison src/Modules/SAI/ModuleSAI.cc @ 135:0c492eada814

- Allow processing without re-initialization.
author tom@acousticscale.org
date Tue, 26 Oct 2010 04:48:56 +0000
parents c5f5e9569863
children 9fcf55c040fe
comparison
equal deleted inserted replaced
134:5d4b269b67d2 135:0c492eada814
105 return true; 105 return true;
106 } 106 }
107 107
108 void ModuleSAI::ResetInternal() { 108 void ModuleSAI::ResetInternal() {
109 // Active Strobes 109 // Active Strobes
110 output_.Clear();
111 sai_temp_.Clear();
110 active_strobes_.clear(); 112 active_strobes_.clear();
111 active_strobes_.resize(channel_count_); 113 active_strobes_.resize(channel_count_);
112 fire_counter_ = frame_period_samples_ - 1; 114 fire_counter_ = frame_period_samples_ - 1;
113 } 115 }
114 116