On 2/11/08, Fasika Alemayehu <[EMAIL PROTECTED]> wrote:

> I have a module to demodulate packets received from a
> file source, and it works fine. I want to have a fixed
> number of inputs (1024) coming from the demodulator.

> But the problem is that evenif i dont get less than
> 1024 items, the input varies with the differenc calls
> to the method.

As your numbers show, using forecast will ensure that the GNU Radio
scheduler calls your work function with at least that many pending
input items to process.  You may get more than than, but you don't
have to process them.   Be sure to return from the work function with
the proper exit value indicating how many samples you actually did
process.  If you are using general_work(), also be sure you are
calling the consume function properly.

-- 
Johnathan Corgan
Corgan Enterprises LLC
http://corganenterprises.com/


_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to