[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Block with two or more outputs, with different si
From: |
Josh Blum |
Subject: |
Re: [Discuss-gnuradio] Block with two or more outputs, with different sizes |
Date: |
Wed, 09 May 2012 12:09:58 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 |
On 05/09/2012 12:06 PM, André Selva wrote:
> Hi!
>
> I'm creating a signal processing block in C++, and I want my block to
> separate the source information into two different outputs, according to a
> pattern. The problem is that the outputs have different sizes, and, as a I
> return noutput_items in the work method, the outputs are completed with
> zeros until they have all the same size. Is it possible to have different
> output sizes in the block?
>
ok yes, see io_signaturev and some of the convenience factory functions
here:
http://gnuradio.org/cgit/gnuradio.git/tree/gnuradio-core/src/lib/runtime/gr_io_signature.h
-josh