diff options
author | Robin Gareus <robin@gareus.org> | 2019-02-06 20:26:44 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-02-06 20:26:44 +0100 |
commit | 5e1484bf1825475ea7d6b14b1fb93193e9ee2ed0 (patch) | |
tree | 87970fe3fdf2033e0980ce813cd2d583b2cf05a2 /libs/ardour/session_process.cc | |
parent | 1845dff4c8c95b7916ff1b1df9194e6df16143d4 (diff) |
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.
Diffstat (limited to 'libs/ardour/session_process.cc')
-rw-r--r-- | libs/ardour/session_process.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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()) { |