discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] change number of input bytes in block


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] change number of input bytes in block
Date: Mon, 12 Mar 2007 13:26:25 -0700
User-agent: Mutt/1.5.9i

On Fri, Mar 09, 2007 at 04:18:29PM +0000, steve wrote:
> Hi,
> 
> i've a _bb block that i wrote. On the first call to work() i
> get 2047 bytes, 2nd call 127, then 7 and then 1 byte ..then the
> whole thing starts again.
> 
> I would like to get the same amount of data for each call to
> work() (e.g. always 512 bytes on input). Is that possible?
>
> Where does 2047, 127, 7 and 1 come from anyway?
> (2^11 - 1, 2^7 -1, 2^3 - 1, 2^1 - 1)
> 
> steve

What base class does your _bb block derive from?

Eric




reply via email to

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