Mercurial > hg > aimc
diff include/AGC.h @ 579:71e3794ececa carfac_cpp
some refactoring
author | Ulf.Hammarqvist@gmail.com |
---|---|
date | Thu, 11 Oct 2012 20:55:03 +0000 |
parents | 83cd5bbf2a3e |
children | daf1ca88fe20 |
line wrap: on
line diff
--- a/include/AGC.h Thu Oct 11 19:37:10 2012 +0000 +++ b/include/AGC.h Thu Oct 11 20:55:03 2012 +0000 @@ -5,21 +5,7 @@ class AGC_parameters { public: - AGC_parameters(): - n_stages_(4), - time_constants_({0.002*1, 0.002*4, 0.002*16, 0.002*64}), - agc_stage_gain_(2), - decimation_({8, 2, 2, 2}), - agc1_scales_({1.0, 1.4, 2.0, 2.8}), - agc2_scales_({1.6, 2.25, 3.2, 4.5}), - detect_scale_(0.25), - agc_mix_coeff_(0.5){ - // do nothing more - } - - virtual ~AGC_parameters(){ - // do nothing - } + AGC_parameters(); int n_stages_; FloatArray time_constants_; @@ -34,7 +20,6 @@ class AGC_coefficients { public: AGC_coefficients(AGC_parameters*, float, int); - virtual ~AGC_coefficients(); int n_ch_; int n_agc_stages_; @@ -51,7 +36,6 @@ float detect_scale_; private: - AGC_coefficients(); FloatArray Build_FIR_coeffs(float, float, int*, int*); };