[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] How to define a minimum number of input samples f

From: Martin Braun
Subject: Re: [Discuss-gnuradio] How to define a minimum number of input samples for a block.
Date: Wed, 01 Apr 2015 10:19:25 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0



On 01.04.2015 10:04, Daniel Mazzer wrote:

I'm developing a block that need a minimum number of input samples to
process, for example, the block must have at least 1000 samples.

In the work() function may I compare if the ninput_items[] is greater
than 1000 and if not I return zero?
Should I need to create an internal buffer (history) to cumulate samples
if the number of samples provided was less that 1000, and the work()
will return 0?
There is any other way to configure the block to work with a minimum
number of samples?

Thank you.


Discuss-gnuradio mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]