discuss-gnuradio
[Top][All Lists]
Advanced

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

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


From: Charles Swiger
Subject: [Discuss-gnuradio] block consuming input if there is no output?
Date: Wed, 03 May 2006 16:37:49 -0400

Will a 2.x block consume an input stream if it returns 0 output items?

All the other atsc blocks are at least passing data and reporting
various states, but fsd = atsc.field_sync_demux() seems to be hung up.
An upstream block connected to fsd, when also connected to a file sink
only produces 28672 (7 * 4096) in the file.  fsd, as copied from
gr 0.9 does not produce output untill a field sync is detected.
It is searching thru data, but it looks like it's just going
thru the input_tags[ii] array off to infinity, i.e, 

cerr << "atsc_field_sync_demux: searching for sync at "
     << inputs0_index + ii << endl;

just counts up.

File attached.


Also I'm now using the 0.9 atsc_tx to create test data (20Msps shorts
centered at 5.75MHz), instead of "off the air".

--Chuck


Attachment: atsc_field_sync_demux.cc
Description: Text Data

Attachment: atsc_field_sync_demux.h
Description: Text Data


reply via email to

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