summaryrefslogtreecommitdiff
path: root/libs/ardour/diskstream.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/diskstream.cc')
-rw-r--r--libs/ardour/diskstream.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/ardour/diskstream.cc b/libs/ardour/diskstream.cc
index aaeb15a995..0d27cb508a 100644
--- a/libs/ardour/diskstream.cc
+++ b/libs/ardour/diskstream.cc
@@ -584,6 +584,8 @@ Diskstream::check_record_status (nframes_t transport_frame, nframes_t /*nframes*
} else {
last_recordable_frame += _roll_delay;
}
+
+ first_recordable_frame = max_frames;
}
last_possibly_recording = possibly_recording;
@@ -597,7 +599,7 @@ Diskstream::route_going_away ()
void
Diskstream::calculate_record_range(OverlapType ot, sframes_t transport_frame, nframes_t nframes,
- nframes_t& rec_nframes, nframes_t& rec_offset)
+ nframes_t& rec_nframes, nframes_t& rec_offset)
{
switch (ot) {
case OverlapNone: