diff options
-rw-r--r-- | docs/doxygen/other/main_page.dox | 2 | ||||
-rw-r--r-- | gnuradio-core/src/lib/runtime/gr_basic_block.i | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/doxygen/other/main_page.dox b/docs/doxygen/other/main_page.dox index f2ab2a436..282682464 100644 --- a/docs/doxygen/other/main_page.dox +++ b/docs/doxygen/other/main_page.dox @@ -152,7 +152,7 @@ To set the output buffer size of a block, you simply call: \code tb.blk0.set_max_output_buffer(2000) - tb.blk1.set_max_output_buffer(2000,1) + tb.blk1.set_max_output_buffer(1, 2000) tb.start() print tb.blk1.max_output_buffer(0) print tb.blk1.max_output_buffer(1) diff --git a/gnuradio-core/src/lib/runtime/gr_basic_block.i b/gnuradio-core/src/lib/runtime/gr_basic_block.i index 848017dd8..7713f2fe1 100644 --- a/gnuradio-core/src/lib/runtime/gr_basic_block.i +++ b/gnuradio-core/src/lib/runtime/gr_basic_block.i @@ -44,10 +44,10 @@ public: bool check_topology (int ninputs, int noutputs); long max_output_buffer(int i); void set_max_output_buffer(long max_output_buffer); - void set_max_output_buffer(long max_output_buffer, int port); + void set_max_output_buffer(int port, long max_output_buffer); long min_output_buffer(int i); void set_min_output_buffer(long min_output_buffer); - void set_min_output_buffer(long min_output_buffer, int port); + void set_min_output_buffer(int port, long min_output_buffer); }; %rename(block_ncurrently_allocated) gr_basic_block_ncurrently_allocated; |