mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 17:03:06 +01:00
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:
parent
5b8765d6dd
commit
16677e80cd
1 changed files with 0 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue