On Mon, Feb 18, 2013 at 12:22:52AM +0100, Martin Lülf wrote:
> So my question is: Can I make gnuradio to not drop the last bits if
> there are less items left than necessary to create output_multiple
> items but instead present this few items to my block together with
> the information that these are not as much items as expected for a
> full block?

Not out of the box, no. set_output_multiple kind of assumes the block
doesn't know how to handle anything else, so what you're asking for
doesn't make sense to the scheduler.

I suggest:
- Setting set_output_multiple() only when the input is invalid;
  otherwise, set_output_multiple(1)
- Put a tag on the last set of items and check for that.

MB
-- 
Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin Braun
Research Associate

Kaiserstraße 12
Building 05.01
76131 Karlsruhe

Phone: +49 721 608-43790
Fax: +49 721 608-46071
www.cel.kit.edu

KIT -- University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association

Attachment: pgpNRRzINb1ba.pgp
Description: PGP signature

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

Reply via email to