discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] gr_io_signature question


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] gr_io_signature question
Date: Wed, 3 May 2006 10:42:24 -0700
User-agent: Mutt/1.5.9i

On Wed, May 03, 2006 at 09:09:45AM -0400, Michael Dickens wrote:
> What size (in Bytes) is a single Item on the input stream?  Float == 4 
> Bytes?  So long as the Item size can be expressed in terms of Bytes, 
> then using the io_signature is pretty straight forward.
> 
> You might also need to change the "forecast()" method depending on how 
> many input Items (per stream) are created for each output Item (or vice 
> versa).  The default is 1:1.
> 
> >However the aloumoti needs these 2 streams in combination to create 
> >the output streams, how (in c) do I specify that there are 2 inputs 
> >and then proceed to access those inputs in the C system?  I’m already 
> >aware it will in some way involve the min_in, min_out, etc. variables 
> >and their use in generating an IO signature.
> 
> The number of input streams is set by either (1) the number provided by 
> the previous connect() block, or (2) the number specified by 
> "set_input_signature()" if using an exact setting.

Seems basically right, though instead of using
"set_{input,output}_signature", build the signatures and pass them
as args to the parent's constructor.

Eric




reply via email to

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