|
From: | Martin Braun |
Subject: | Re: [Discuss-gnuradio] How to define a minimum number of input samples for a block. |
Date: | Wed, 01 Apr 2015 14:41:46 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
On 01.04.2015 11:19, Daniel Mazzer wrote:
Hi Martin, Thank you, I will try. My block is asymmetric, for n input samples it will have always 4 output samples. So I thinking that if I configure the previous block as you suggested, it will work, right?
In that case, you want something else:Make your block an 'sync_interpolator' with an interpolation rate of 4. Then, in your work() function, you only get noutput_items, and the number of input items is implicitly noutput_items/4.
M
[Prev in Thread] | Current Thread | [Next in Thread] |