mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-28 17:37:41 +01:00
Prevent various things from stopping the transport by requesting a transport speed of exactly 0 when they are really just continuously varying it. Fixes strange playhead behaviour during varispeed when the user varispeeds to exactly 0 and auto-return is triggered.
git-svn-id: svn://localhost/ardour2/branches/3.0@8733 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
6be56d78b1
commit
49869c98f3
8 changed files with 34 additions and 18 deletions
|
|
@ -1920,7 +1920,7 @@ Editor::scrub (framepos_t frame, double current_x)
|
|||
scrub_reverse_distance = 0;
|
||||
|
||||
delta = 0.01 * (last_scrub_x - current_x);
|
||||
_session->request_transport_speed (_session->transport_speed() - delta);
|
||||
_session->request_transport_speed_nonzero (_session->transport_speed() - delta);
|
||||
}
|
||||
|
||||
} else {
|
||||
|
|
@ -1939,7 +1939,7 @@ Editor::scrub (framepos_t frame, double current_x)
|
|||
scrub_reverse_distance = 0;
|
||||
|
||||
delta = 0.01 * (current_x - last_scrub_x);
|
||||
_session->request_transport_speed (_session->transport_speed() + delta);
|
||||
_session->request_transport_speed_nonzero (_session->transport_speed() + delta);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue