From 93a35f0bda8319a569e3a34a31f047dda793597a Mon Sep 17 00:00:00 2001
From: Marcus Müller <Marcus.Mueller@ettus.com>
Date: Wed, 22 Apr 2015 20:32:04 +0200
Subject: analog: Power Squelch now emit tags on start/end of bursts

The block will emit a tag with the key pmt::intern("squelch_sob")
with the value of pmt::PMT_NIL on the first item it passes, and with
the key pmt::intern("squelch:eob") on the last item it passes.

Added this to the `make` documentation.

Also: made the GRC XML's defaults reflect the C++ default args.

Also: indentation was mixed; unified the paragraphs I worked on.
---
 gr-analog/lib/squelch_base_cc_impl.h | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'gr-analog/lib/squelch_base_cc_impl.h')

diff --git a/gr-analog/lib/squelch_base_cc_impl.h b/gr-analog/lib/squelch_base_cc_impl.h
index 58802df91c..68ed1bb2b8 100644
--- a/gr-analog/lib/squelch_base_cc_impl.h
+++ b/gr-analog/lib/squelch_base_cc_impl.h
@@ -36,6 +36,8 @@ namespace gr {
       bool   d_gate;
       double d_envelope;
       enum { ST_MUTED, ST_ATTACK, ST_UNMUTED, ST_DECAY } d_state;
+      const pmt::pmt_t d_sob_key, d_eob_key;
+      bool d_tag_next_unmuted;
 
     protected:
       virtual void update_state(const gr_complex &sample) {};
-- 
cgit v1.2.3