GNU Radio 3.5.1 C++ API
|
high performance Automatic Gain Control class More...
#include <gri_agc_ff.h>
Public Member Functions | |
gri_agc_ff (float rate=1e-4, float reference=1.0, float gain=1.0, float max_gain=0.0) | |
float | rate () const |
float | reference () const |
float | gain () const |
float | max_gain () const |
void | set_rate (float rate) |
void | set_reference (float reference) |
void | set_gain (float gain) |
void | set_max_gain (float max_gain) |
float | scale (float input) |
void | scaleN (float output[], const float input[], unsigned n) |
Protected Attributes | |
float | _rate |
float | _reference |
float | _gain |
float | _max_gain |
high performance Automatic Gain Control class
Power is approximated by absolute value
gri_agc_ff::gri_agc_ff | ( | float | rate = 1e-4 , |
float | reference = 1.0 , |
||
float | gain = 1.0 , |
||
float | max_gain = 0.0 |
||
) | [inline] |
float gri_agc_ff::gain | ( | ) | const [inline] |
float gri_agc_ff::max_gain | ( | ) | const [inline] |
float gri_agc_ff::rate | ( | ) | const [inline] |
float gri_agc_ff::reference | ( | ) | const [inline] |
float gri_agc_ff::scale | ( | float | input | ) | [inline] |
void gri_agc_ff::scaleN | ( | float | output[], |
const float | input[], | ||
unsigned | n | ||
) | [inline] |
void gri_agc_ff::set_gain | ( | float | gain | ) | [inline] |
void gri_agc_ff::set_max_gain | ( | float | max_gain | ) | [inline] |
void gri_agc_ff::set_rate | ( | float | rate | ) | [inline] |
void gri_agc_ff::set_reference | ( | float | reference | ) | [inline] |
float gri_agc_ff::_gain [protected] |
float gri_agc_ff::_max_gain [protected] |
float gri_agc_ff::_rate [protected] |
float gri_agc_ff::_reference [protected] |