diff options
Diffstat (limited to 'gr-blocks/lib/peak_detector_impl.h')
-rw-r--r-- | gr-blocks/lib/peak_detector_impl.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gr-blocks/lib/peak_detector_impl.h b/gr-blocks/lib/peak_detector_impl.h index 4aa792654f..8ca9522570 100644 --- a/gr-blocks/lib/peak_detector_impl.h +++ b/gr-blocks/lib/peak_detector_impl.h @@ -31,16 +31,16 @@ public: float threshold_factor_fall, int look_ahead, float alpha); - ~peak_detector_impl(); - - void set_threshold_factor_rise(float thr) { d_threshold_factor_rise = thr; } - void set_threshold_factor_fall(float thr) { d_threshold_factor_fall = thr; } - void set_look_ahead(int look) { d_look_ahead = look; } - void set_alpha(float alpha) { d_avg_alpha = alpha; } - float threshold_factor_rise() { return d_threshold_factor_rise; } - float threshold_factor_fall() { return d_threshold_factor_fall; } - int look_ahead() { return d_look_ahead; } - float alpha() { return d_avg_alpha; } + ~peak_detector_impl() override; + + void set_threshold_factor_rise(float thr) override { d_threshold_factor_rise = thr; } + void set_threshold_factor_fall(float thr) override { d_threshold_factor_fall = thr; } + void set_look_ahead(int look) override { d_look_ahead = look; } + void set_alpha(float alpha) override { d_avg_alpha = alpha; } + float threshold_factor_rise() override { return d_threshold_factor_rise; } + float threshold_factor_fall() override { return d_threshold_factor_fall; } + int look_ahead() override { return d_look_ahead; } + float alpha() override { return d_avg_alpha; } int work(int noutput_items, gr_vector_const_void_star& input_items, |