When there is no overlap (Evoral::OverlapNone) of local transport
position and the record-range, MIDI data does not need to be
offset.
This matches audio recording: Only write to the capture ringbuffer
when there is an overlap.
(There is still some unknown, unresolved discrepancy remaining
to be tracked down)
*/
if (rec_nframes) {
_accumulated_capture_offset += rec_offset;
*/
if (rec_nframes) {
_accumulated_capture_offset += rec_offset;
- } else {
- _accumulated_capture_offset += nframes;