bladeRF: calculate number of samples based on stream count

master
Robert Ghilduta 3 years ago committed by Eric Wild
parent bfdc4d917c
commit 95b1025b01
  1. 2
      lib/bladerf/bladerf_source_c.cc

@ -342,7 +342,7 @@ int bladerf_source_c::work(int noutput_items,
memcpy(out[0], _32fcbuf, sizeof(gr_complex) * noutput_items);
}
return noutput_items;
return noutput_items/(get_num_channels());
}
osmosdr::meta_range_t bladerf_source_c::get_sample_rates()

Loading…
Cancel
Save