summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/delay_impl.h
diff options
context:
space:
mode:
authorghostop14 <ghostop14@gmail.com>2020-03-02 17:43:31 -0500
committerdevnulling <devnulling@users.noreply.github.com>2020-03-29 09:37:30 -0700
commit386a7e207fd6f23fcd3d186f919ded394eb78461 (patch)
treec524cb69b51c7f09c9d4458dd880932679022ed7 /gr-blocks/lib/delay_impl.h
parent3b30c5da8b464f32b762d750be2896149f81ea28 (diff)
gr-blocks: Add Msg Port to Delay Block
These updates add the ability to set the block delay value with an asynchronous message. In this manner, blocks doing calculations such as those for DoA or antenna arrays can provide delay updates only when needed.
Diffstat (limited to 'gr-blocks/lib/delay_impl.h')
-rw-r--r--gr-blocks/lib/delay_impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-blocks/lib/delay_impl.h b/gr-blocks/lib/delay_impl.h
index c58de83668..2b39e64ce5 100644
--- a/gr-blocks/lib/delay_impl.h
+++ b/gr-blocks/lib/delay_impl.h
@@ -24,7 +24,7 @@ private:
const size_t d_itemsize;
int d_delta;
- gr::thread::mutex d_mutex_delay;
+ void handle_msg(pmt::pmt_t msg);
public:
delay_impl(size_t itemsize, int delay);