diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-09-30 12:59:58 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-09-30 13:02:58 -0400 |
commit | 343bc5160bec08f89cd985131f808de8ce18e23b (patch) | |
tree | 8a43803d8b7b278266eb63172021dd2510d22746 /libs/ardour/audio_diskstream.cc | |
parent | 2cf779fd0c6f581df1a258696e83255cf7cd65ac (diff) |
remove apparently bogus adjustment to capture_captured in AudioDiskstream::transport_looped
Diffstat (limited to 'libs/ardour/audio_diskstream.cc')
-rw-r--r-- | libs/ardour/audio_diskstream.cc | 12 |
1 files changed, 0 insertions, 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<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 |