summaryrefslogtreecommitdiff
path: root/libs/ardour/diskstream.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-10-30 18:14:25 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-10-30 18:14:25 +0000
commite98b3c1ec65f173f357f9b6747d11174e2743cd6 (patch)
tree43e209e88951691811a3371091950952d4ecbaf7 /libs/ardour/diskstream.cc
parentc83e48e07a0b4790512c6251d8ad8f941c881021 (diff)
make 3.0 catch up with transport and other changes in 2.X (hand applied, not merged)
git-svn-id: svn://localhost/ardour2/branches/3.0@5989 d708f5d6-7413-0410-9779-e7cbd77b26cf
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: