discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] block consuming input if there is no output?


From: Charles Swiger
Subject: Re: [Discuss-gnuradio] block consuming input if there is no output?
Date: Wed, 03 May 2006 17:51:28 -0400

On Wed, 2006-05-03 at 16:37 -0400, Charles Swiger wrote:
> Will a 2.x block consume an input stream if it returns 0 output items?
> 

appearently not. I just make a simple change

        d_next_input += ii;     // update for forecast
        return ii/DEC;               // no work completed so far
      }
    }
    // no non-NORMAL tag found
    d_next_input += ii;         // update for forecast
    return ii/DEC;                   // no work completed so far


with ii/DEC instead of 0, and was rewarded with:

atsc_field_sync_demux: synced (FIELD-2) at 125177021 [delta = 724]
atsc_field_sync_demux: lost sync at  125177021
atsc_field_sync_demux: synced (FIELD-2) at 125177745 [delta = 724]
atsc_field_sync_demux: lost sync at  125177745
atsc_field_sync_demux: synced (FIELD-2) at 125178469 [delta = 724]
atsc_field_sync_demux: lost sync at  125178469
atsc_field_sync_demux: synced (FIELD-2) at 125179193 [delta = 724]
atsc_field_sync_demux: lost sync at  125179193







reply via email to

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