summaryrefslogtreecommitdiff
path: root/lib/block_handlers.cpp
diff options
context:
space:
mode:
authorJosh Blum2012-09-07 21:07:41 -0700
committerJosh Blum2012-09-07 21:07:41 -0700
commit2779eb7fd75a44e9569a6b0c823a3da8ae216dd8 (patch)
tree03dcccb98cd69bcea147c75193860b778e93bb21 /lib/block_handlers.cpp
parentd80ca1ce3e89db619d0b65b8b8c44fe8d3ba6a93 (diff)
downloadsandhi-2779eb7fd75a44e9569a6b0c823a3da8ae216dd8.tar.gz
sandhi-2779eb7fd75a44e9569a6b0c823a3da8ae216dd8.tar.bz2
sandhi-2779eb7fd75a44e9569a6b0c823a3da8ae216dd8.zip
added check topology hooks and overload
Diffstat (limited to 'lib/block_handlers.cpp')
-rw-r--r--lib/block_handlers.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/block_handlers.cpp b/lib/block_handlers.cpp
index c9d97bb..0741aa0 100644
--- a/lib/block_handlers.cpp
+++ b/lib/block_handlers.cpp
@@ -115,6 +115,9 @@ void ElementImpl::topology_update(const tsbe::TaskInterface &task_iface)
const size_t num_inputs = task_iface.get_num_inputs();
const size_t num_outputs = task_iface.get_num_outputs();
+ //call check_topology on block before committing settings
+ this->block_ptr->check_topology(num_inputs, num_outputs);
+
//fill the item sizes from the IO signatures
fill_item_sizes_from_sig(this->input_items_sizes, this->input_signature, num_inputs);
fill_item_sizes_from_sig(this->output_items_sizes, this->output_signature, num_outputs);