*
* 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
*
* 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
: _attack_rate(attack_rate), _decay_rate(decay_rate), _reference(reference),
_gain(gain), _max_gain(max_gain) {};
: _attack_rate(attack_rate), _decay_rate(decay_rate), _reference(reference),
_gain(gain), _max_gain(max_gain) {};
float reference () const { return _reference; }
float gain () const { return _gain; }
float max_gain () const { return _max_gain; }
float reference () const { return _reference; }
float gain () const { return _gain; }
float max_gain () const { return _max_gain; }
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; }
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; }
float _reference; // reference value
float _gain; // current gain
float _max_gain; // maximum gain
float _reference; // reference value
float _gain; // current gain
float _max_gain; // maximum gain