From 5e1484bf1825475ea7d6b14b1fb93193e9ee2ed0 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 6 Feb 2019 20:26:44 +0100 Subject: Fix rolling backwards When speed is -1, start_sample >= end_sample and _transport_sample needs to be decremented. Session::process_with_events() did this correctly, this change makes Session::process_without_events() behave identically. --- libs/ardour/session_process.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour') diff --git a/libs/ardour/session_process.cc b/libs/ardour/session_process.cc index bece787fd7..81e6d12d7f 100644 --- a/libs/ardour/session_process.cc +++ b/libs/ardour/session_process.cc @@ -601,7 +601,7 @@ Session::process_without_events (pframes_t nframes) no_roll (nframes); return; } else { - samples_moved = (samplecnt_t) nframes; + samples_moved = (samplecnt_t) nframes * _transport_speed; } if (!_exporting && !timecode_transmission_suspended()) { -- cgit v1.2.3