[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] call set_output_multiple() on the fly
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] call set_output_multiple() on the fly |
Date: |
Thu, 25 Nov 2010 16:28:14 -0800 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Thu, Nov 25, 2010 at 11:11:27PM +1100, Kyle Zhou wrote:
> I am writing a module that might need dynamic change to the block length.
> So I want to call set_output_multiple(blk_len) when the flow graph is running.
> Firstly, is this allowed?
> Secondly, what are the effects?
> If I have a "noutput_items%blk_len==0" checking in work(), will it fail
> during the transition?
> Thanks
> Kyle
There is no guarantee that set_output_multiple will work if you change
it on the fly.
It is possible that you could specify a value for set_output_multiple
that would require reallocation of the impacted buffers. We do not do
that.
Eric