summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib
diff options
context:
space:
mode:
authorTom Rondeau2012-04-07 16:34:25 -0400
committerTom Rondeau2012-04-07 16:34:25 -0400
commitfdb41fe3399c2282b31297e65f7a020bf844282d (patch)
treeb1559bef05cdb1d5341fe1922de2252968708db8 /gnuradio-core/src/lib
parent06ed9067631ff93006e89aae8fe8397da1fd9753 (diff)
downloadgnuradio-fdb41fe3399c2282b31297e65f7a020bf844282d.tar.gz
gnuradio-fdb41fe3399c2282b31297e65f7a020bf844282d.tar.bz2
gnuradio-fdb41fe3399c2282b31297e65f7a020bf844282d.zip
core: buffer alignments were getting confused. Just need to tell all blocks that they are aligned upon restart.
Diffstat (limited to 'gnuradio-core/src/lib')
-rw-r--r--gnuradio-core/src/lib/runtime/gr_flat_flowgraph.cc5
1 files changed, 3 insertions, 2 deletions
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);
}
}