Well - the good news - plowing blindly ahead I shoveled
everything from GrAtscFieldSyncMux into a new
atsc_field_sync_mux and it actually compiles and might
be producing meaningful results. At least scrolling out
to segment 313 shows a segment full of 1's and 6's that
might match a pn511 reference symbol field.


However it's not so simple with demux - the old code has:

GrAtscFieldSyncDemux::work (VrSampleRange output, void *ao[],
                            VrSampleRange inputs[], void *ai[])
      ...
      d_lost_index = inputs[0].index + ii;




But that won't compile in 2.0.  Using something like:

atsc_field_sync_demux::work (int noutput_items,
                       gr_vector_const_void_star &input_items,
                       gr_vector_void_star &output_items)
{
  const atsc_data_segment *in = (const atsc_data_segment *)
input_items[0];
      ...
      d_lost_index = in[0].index + ii;


understandably gets:

atsc_field_sync_demux.cc: In member function `virtual int
atsc_field_sync_demux::work(int, gr_vector_const_void_star&,
gr_vector_void_star&)':
atsc_field_sync_demux.cc:79: error: 'const class atsc_data_segment' has
no member named 'index'





_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to