Skip to content

Fix bypass buffers.

Timothy Davies requested to merge tdv-fix-bypass-buffers into ldavis/bypass

Combines a few changes to try to fix bypass buffers.

Besides refactors, this:

  1. Correctly calculates the next_tstart, i.e. the time that the current snr buffers should end at.
  2. If (somehow) postcoh fails to send a buffer, the snr pads will now be flushed by the corresponding amount. I added an assertion in case this happens to ensure we've actually got enough data to flush while leaving enough leftover to run on.

Merge request reports