Hi,

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.

Daniel
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to