22 #ifndef INCLUDED_DAB_PEAK_DETECTOR_FB_H 23 #define INCLUDED_DAB_PEAK_DETECTOR_FB_H 26 #include <gnuradio/sync_block.h> 42 typedef boost::shared_ptr<peak_detector_fb>
sptr;
65 static sptr make(
float threshold_factor_rise = 0.25,
66 float threshold_factor_fall = 0.40,
73 virtual void set_threshold_factor_rise(
float thr) = 0;
78 virtual void set_threshold_factor_fall(
float thr) = 0;
83 virtual void set_look_ahead(
int look) = 0;
88 virtual void set_alpha(
float alpha) = 0;
93 virtual float threshold_factor_rise() = 0;
98 virtual float threshold_factor_fall() = 0;
103 virtual int look_ahead() = 0;
108 virtual float alpha() = 0;
#define DAB_API
Definition: api.h:30
Definition: complex_to_interleaved_float_vcf.h:28
Detect the peak of a signal.
Definition: peak_detector_fb.h:39
boost::shared_ptr< peak_detector_fb > sptr
Definition: peak_detector_fb.h:42