Towards fixing MIDI capture alignment
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)
This commit is contained in:
@@ -463,8 +463,6 @@ DiskWriter::run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_samp
|
||||
*/
|
||||
if (rec_nframes) {
|
||||
_accumulated_capture_offset += rec_offset;
|
||||
} else {
|
||||
_accumulated_capture_offset += nframes;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user