comparison src/Modules/SAI/ModuleSAI.cc @ 246:0a3342606855

- Allow processing without re-initialization.
author tom@acousticscale.org
date Tue, 26 Oct 2010 04:48:56 +0000
parents 9fcf55c040fe
children 2a69b38336c4
comparison
equal deleted inserted replaced
245:cf4ebaf2f845 246:0a3342606855
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