summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib/flat_flowgraph.cc
diff options
context:
space:
mode:
authorTom Rondeau <tom@trondeau.com>2015-04-09 10:58:07 -0400
committerTom Rondeau <tom@trondeau.com>2015-04-09 10:58:07 -0400
commit429c6f9639bcd1ababe1090a9154be3402c270a8 (patch)
tree964fec8bea129ff9ed1a7abf8416f6ac5f757bf0 /gnuradio-runtime/lib/flat_flowgraph.cc
parentd8ffe561153bb0b8d79f028212de7a12c031a067 (diff)
runtime: better documentation for the set min/max output buffer functions.
Diffstat (limited to 'gnuradio-runtime/lib/flat_flowgraph.cc')
-rw-r--r--gnuradio-runtime/lib/flat_flowgraph.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/gnuradio-runtime/lib/flat_flowgraph.cc b/gnuradio-runtime/lib/flat_flowgraph.cc
index b580238b7c..56123fcc88 100644
--- a/gnuradio-runtime/lib/flat_flowgraph.cc
+++ b/gnuradio-runtime/lib/flat_flowgraph.cc
@@ -109,12 +109,9 @@ namespace gr {
// Update the block's max_output_buffer based on what was actually allocated.
if((grblock->max_output_buffer(i) != buffer->bufsize()) && (grblock->max_output_buffer(i) != -1))
- GR_LOG_WARN(d_logger, boost::format("Block (%1%) max output buffer set to %2% instead of requested %3%") \
- % grblock->alias() % buffer->bufsize() % grblock->max_output_buffer(i));
- //std::cout << ">>> Warning: Block (" << grblock->alias()
- // << ") max output buffer set to " << buffer->bufsize()
- // << " instead of requested " << grblock->max_output_buffer(i)
- // << std::endl;
+ GR_LOG_WARN(d_logger, boost::format("Block (%1%) max output buffer set to %2%"
+ " instead of requested %3%") \
+ % grblock->alias() % buffer->bufsize() % grblock->max_output_buffer(i));
grblock->set_max_output_buffer(i, buffer->bufsize());
}