remove apparently bogus adjustment to capture_captured in AudioDiskstream::transport_looped

This commit is contained in:
Paul Davis 2015-09-30 12:59:58 -04:00
parent 2cf779fd0c
commit 343bc5160b

View file

@ -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<ChannelList> 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