On Tue, Nov 12, 2013 at 01:07:52PM -0500, Tommy Tracy II wrote:
> Dear GNU Radio,
> 
> I am writing a GNU Radio block that processes the input in blocks of 1024. Is
> there a way for me to tell the scheduler that I can only accept inputs in
> multiples of 1024, or do I need to block the input, and save the left-overs 
> for
> the next work() call? If the latter, how do I know if the work() call is 
> called
> for the last time?

If it's a sync block, set_output_multiple() will do 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: pgpbcevqAB6M0.pgp
Description: PGP signature

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

Reply via email to