From fdb41fe3399c2282b31297e65f7a020bf844282d Mon Sep 17 00:00:00 2001 From: Tom Rondeau Date: Sat, 7 Apr 2012 16:34:25 -0400 Subject: core: buffer alignments were getting confused. Just need to tell all blocks that they are aligned upon restart. --- gnuradio-core/src/lib/runtime/gr_flat_flowgraph.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gnuradio-core') diff --git a/gnuradio-core/src/lib/runtime/gr_flat_flowgraph.cc b/gnuradio-core/src/lib/runtime/gr_flat_flowgraph.cc index adb1f5608..5c9e4bf3f 100644 --- a/gnuradio-core/src/lib/runtime/gr_flat_flowgraph.cc +++ b/gnuradio-core/src/lib/runtime/gr_flat_flowgraph.cc @@ -66,8 +66,9 @@ gr_flat_flowgraph::setup_connections() for(gr_basic_block_viter_t p = blocks.begin(); p != blocks.end(); p++) { connect_block_inputs(*p); - gr_block_sptr block = cast_to_block_sptr(*p); - setup_buffer_alignment(block); + gr_block_sptr block = cast_to_block_sptr(*p); + block->set_unaligned(0); + block->set_is_unaligned(false); } } -- cgit