fix for problem when reverse playback hits 00:00:00:00 (may be incomplete)
should fix #5221 git-svn-id: svn://localhost/ardour2/branches/3.0@13708 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
d01a9599a4
commit
1d7e9daea4
@ -349,6 +349,7 @@ Session::process_with_events (pframes_t nframes)
|
||||
}
|
||||
|
||||
end_frame = _transport_frame + frames_moved;
|
||||
_transport_frame = std::max((ARDOUR::framepos_t) 0, _transport_frame);
|
||||
|
||||
{
|
||||
SessionEvent* this_event;
|
||||
|
@ -851,6 +851,7 @@ Session::micro_locate (framecnt_t distance)
|
||||
}
|
||||
|
||||
_transport_frame += distance;
|
||||
_transport_frame = std::max((ARDOUR::framepos_t) 0, _transport_frame);
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -896,6 +897,7 @@ Session::locate (framepos_t target_frame, bool with_roll, bool with_flush, bool
|
||||
|
||||
// Update Timecode time
|
||||
// [DR] FIXME: find out exactly where this should go below
|
||||
target_frame = std::max((ARDOUR::framepos_t) 0, target_frame);
|
||||
_transport_frame = target_frame;
|
||||
_last_roll_or_reversal_location = target_frame;
|
||||
timecode_time(_transport_frame, transmitting_timecode_time);
|
||||
|
Loading…
Reference in New Issue
Block a user