From 343bc5160bec08f89cd985131f808de8ce18e23b Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 30 Sep 2015 12:59:58 -0400 Subject: [PATCH] remove apparently bogus adjustment to capture_captured in AudioDiskstream::transport_looped --- libs/ardour/audio_diskstream.cc | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/libs/ardour/audio_diskstream.cc b/libs/ardour/audio_diskstream.cc index d443b9ad32..811a17e4b3 100644 --- a/libs/ardour/audio_diskstream.cc +++ b/libs/ardour/audio_diskstream.cc @@ -1693,18 +1693,6 @@ AudioDiskstream::transport_looped (framepos_t transport_frame) // all we need to do is finish this capture, with modified capture length boost::shared_ptr c = channels.reader(); - // adjust the capture length knowing that the data will be recorded to disk - // only necessary after the first loop where we're recording - if (capture_info.size() == 0) { - capture_captured += _capture_offset; - - if (_alignment_style == ExistingMaterial) { - capture_captured += _session.worst_output_latency(); - } else { - capture_captured += _roll_delay; - } - } - finish_capture (c); // the next region will start recording via the normal mechanism