diff options
author | Tom Rondeau <tom@trondeau.com> | 2013-09-17 15:32:44 -0400 |
---|---|---|
committer | Tom Rondeau <tom@trondeau.com> | 2013-10-29 12:21:42 -0400 |
commit | f3f5a5ae0ae0093277494b2380a77c8eed439035 (patch) | |
tree | da68cfb94397c80d018c8e9e206de8742cbdf913 /gnuradio-runtime/lib/flat_flowgraph.cc | |
parent | 4d71f048b2cb2ded5e4527559770a0d371d969f5 (diff) |
runtime: for blocks with a group delay, tag location should be moved according to the delay. Since group delay is often unknown, we have added a new function set_group_delay to allow the user to set the value once delay is calculated.
Also added ability to set the tag propagation delay, which is required for how the blocks::delay works.
Diffstat (limited to 'gnuradio-runtime/lib/flat_flowgraph.cc')
-rw-r--r-- | gnuradio-runtime/lib/flat_flowgraph.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnuradio-runtime/lib/flat_flowgraph.cc b/gnuradio-runtime/lib/flat_flowgraph.cc index ae79288334..52fdfba621 100644 --- a/gnuradio-runtime/lib/flat_flowgraph.cc +++ b/gnuradio-runtime/lib/flat_flowgraph.cc @@ -199,7 +199,8 @@ namespace gr { if(FLAT_FLOWGRAPH_DEBUG) std::cout << "Setting input " << dst_port << " from edge " << (*e) << std::endl; - detail->set_input(dst_port, buffer_add_reader(src_buffer, grblock->history()-1, grblock)); + detail->set_input(dst_port, buffer_add_reader(src_buffer, grblock->history()-1, grblock, + grblock->group_delay(src_port))); } } |