Re: [Discuss-gnuradio] on the fly set_output_multiple()

2014-02-21 Thread Martin Braun
On 02/21/2014 12:38 AM, Activecat wrote: > Problem: > Says, the instantaneous interpolation_factor is 3. > As inherited from gr::block, the scheduler may call the general_work() > with noutput_items=2 (any number is possible). > When this happen, there is nothing to be done except to consume_each(0

Re: [Discuss-gnuradio] on the fly set_output_multiple()

2014-02-20 Thread Activecat
Dear Martin, Thanks for the hints. I think this function helps: set_min_noutput_items() Problem: Says, the instantaneous interpolation_factor is 3. As inherited from gr::block, the scheduler may call the general_work() with noutput_items=2 (any number is possible). When this happen, there is not

Re: [Discuss-gnuradio] on the fly set_output_multiple()

2014-02-20 Thread Martin Braun
On 02/20/2014 01:46 PM, Activecat wrote: > I need to create a interpolator block which has a callback function to > change its interpolation factor on the fly. > > If this block is inherited from gr::sync_interpolator, its interpolation > factor cannot be changed on the fly because the interpolati

[Discuss-gnuradio] on the fly set_output_multiple()

2014-02-20 Thread Activecat
Dear Sir, I need to create a interpolator block which has a callback function to change its interpolation factor on the fly. If this block is inherited from gr::sync_interpolator, its interpolation factor cannot be changed on the fly because the interpolation factor is an argument of its construc