Revert "fix for problem when reverse playback hits 00:00:00:00 (may be incomplete)"
authorRobin Gareus <robin@gareus.org>
Sun, 23 Dec 2012 11:58:04 +0000 (11:58 +0000)
committerRobin Gareus <robin@gareus.org>
Sun, 23 Dec 2012 11:58:04 +0000 (11:58 +0000)
This reverts commit 13708 -- because it's the wrong approach to fix this.

git-svn-id: svn://localhost/ardour2/branches/3.0@13713 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/session_process.cc
libs/ardour/session_transport.cc

index 0a44829bd2cc883820d16b4c574c290f7f767bb5..05b800fead11b248af4a308ec58047a57ff56528 100644 (file)
@@ -349,7 +349,6 @@ 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;
index 693074cf9ae3985b09537fa4da07b3bed60e2250..037ca83484d7d2eac3dae266096f9ff995e1910a 100644 (file)
@@ -851,7 +851,6 @@ Session::micro_locate (framecnt_t distance)
        }
 
        _transport_frame += distance;
-       _transport_frame = std::max((ARDOUR::framepos_t) 0, _transport_frame);
        return 0;
 }
 
@@ -897,7 +896,6 @@ 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);