13
0

Revert "Fix MIDI capture alignment"

This reverts commit 3fe87b9fa1.

This commit incorrectly overcompensated MIDI. The DW already
aligns to _first_recordable_sample.
This commit is contained in:
Robin Gareus 2021-04-11 15:09:53 +02:00
parent 635d83709b
commit 5cd6c261b7
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -178,9 +178,6 @@ DiskWriter::check_record_status (samplepos_t transport_sample, double speed, boo
if (_alignment_style == ExistingMaterial) {
_first_recordable_sample += _capture_offset + _playback_offset;
if (_accumulated_capture_offset == 0) {
_accumulated_capture_offset = _playback_offset;
}
}
if (_session.config.get_punch_out () && 0 != (loc = _session.locations()->auto_punch_location ())) {