summaryrefslogtreecommitdiff
path: root/lib/top_block.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/top_block.cpp')
-rw-r--r--lib/top_block.cpp14
1 files changed, 6 insertions, 8 deletions
diff --git a/lib/top_block.cpp b/lib/top_block.cpp
index f5d4517..c93bda5 100644
--- a/lib/top_block.cpp
+++ b/lib/top_block.cpp
@@ -20,6 +20,11 @@
using namespace gnuradio;
+GlobalBlockConfig::GlobalBlockConfig(void)
+{
+ maximum_output_items = 0;
+}
+
TopBlock::TopBlock(void)
{
//NOP
@@ -48,18 +53,11 @@ void ElementImpl::top_block_cleanup(void)
<< std::flush;
}
-void TopBlock::update(void)
+void TopBlock::commit(void)
{
this->start(); //ok to re-start, means update
}
-void TopBlock::set_buffer_hint(const size_t hint)
-{
- TopHintMessage message;
- message.hint = hint;
- (*this)->executor->post_all(message);
-}
-
void TopBlock::start(void)
{
(*this)->executor->commit();