+void CompressorConfigBase::reset_base()
+{
+ input = CompressorConfigBase::TRIGGER;
+ trigger = 0;
+ smoothing_only = 0;
+ for( int i=0; i<total_bands; ++i )
+ bands[i].freq = Freq::tofreq((i+1) * TOTALFREQS / total_bands);
+ current_band = 0;
+}
+
+void CompressorConfigBase::reset_bands()
+{
+ for( int i=0; i<total_bands; ++i )
+ bands[i].reset();
+}
+
+