X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=gnuradio-core%2Fsrc%2Flib%2Fgeneral%2Fgri_agc2_ff.h;h=a06dab78c983425b0b752d9a223576cc88197278;hb=ea29b08aeb54227e6628f655ccfdb96fe4d8c378;hp=b0bff04c381569baa2525b026f556dc4f05ae16a;hpb=18a684bf3dc144c48fc4cc6cc72f5070febd8074;p=debian%2Fgnuradio diff --git a/gnuradio-core/src/lib/general/gri_agc2_ff.h b/gnuradio-core/src/lib/general/gri_agc2_ff.h index b0bff04c..a06dab78 100644 --- a/gnuradio-core/src/lib/general/gri_agc2_ff.h +++ b/gnuradio-core/src/lib/general/gri_agc2_ff.h @@ -6,7 +6,7 @@ * * GNU Radio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) + * the Free Software Foundation; either version 3, or (at your option) * any later version. * * GNU Radio is distributed in the hope that it will be useful, @@ -39,14 +39,14 @@ class gri_agc2_ff { : _attack_rate(attack_rate), _decay_rate(decay_rate), _reference(reference), _gain(gain), _max_gain(max_gain) {}; - float decay_rate () const { return _decay_rate; } float attack_rate () const { return _attack_rate; } + float decay_rate () const { return _decay_rate; } float reference () const { return _reference; } float gain () const { return _gain; } float max_gain () const { return _max_gain; } - void set_decay_rate (float rate) { _decay_rate = rate; } void set_attack_rate (float rate) { _attack_rate = rate; } + void set_decay_rate (float rate) { _decay_rate = rate; } void set_reference (float reference) { _reference = reference; } void set_gain (float gain) { _gain = gain; } void set_max_gain (float max_gain) { _max_gain = max_gain; } @@ -79,8 +79,8 @@ class gri_agc2_ff { } protected: - float _decay_rate; // decay rate for slow changing signals float _attack_rate; // attack_rate for fast changing signals + float _decay_rate; // decay rate for slow changing signals float _reference; // reference value float _gain; // current gain float _max_gain; // maximum gain