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.
This commit is contained in:
Robin Gareus 2019-02-06 20:26:44 +01:00
parent 1845dff4c8
commit 5e1484bf18
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04

View file

@ -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()) {