11 #ifndef INCLUDED_ANALOG_AGC2_CC_H
12 #define INCLUDED_ANALOG_AGC2_CC_H
33 typedef std::shared_ptr<agc2_cc>
sptr;
45 float decay_rate = 1e-2,
46 float reference = 1.0,
48 float max_gain = 0.0);
53 virtual float gain()
const = 0;
high performance Automatic Gain Control class with attack and decay rates.
Definition: agc2_cc.h:30
virtual float reference() const =0
virtual void set_max_gain(float max_gain)=0
virtual float gain() const =0
virtual void set_decay_rate(float rate)=0
std::shared_ptr< agc2_cc > sptr
Definition: agc2_cc.h:33
virtual void set_reference(float reference)=0
static sptr make(float attack_rate=1e-1, float decay_rate=1e-2, float reference=1.0, float gain=1.0, float max_gain=0.0)
virtual float max_gain() const =0
virtual float decay_rate() const =0
virtual void set_gain(float gain)=0
virtual void set_attack_rate(float rate)=0
virtual float attack_rate() const =0
synchronous 1:1 input to output with history
Definition: sync_block.h:26
#define ANALOG_API
Definition: gr-analog/include/gnuradio/analog/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29