partial workaround for excess cpu usage

max
Max 5 years ago
parent d25d93cf9e
commit 38b2cb60be
  1. 1
      op25/gr-op25_repeater/lib/p25_frame_assembler_impl.cc

@ -113,6 +113,7 @@ p25_frame_assembler_impl::forecast(int nof_output_items, gr_vector_int &nof_inpu
nof_samples_reqd = nof_output_items;
if (d_do_audio_output)
nof_samples_reqd = 0.6 * nof_output_items;
nof_samples_reqd = std::max(nof_samples_reqd, 256);
std::fill(&nof_input_items_reqd[0], &nof_input_items_reqd[nof_inputs], nof_samples_reqd);
}

Loading…
Cancel
Save