diff options
author | Carl Hetherington <carl@carlh.net> | 2011-02-07 01:12:47 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-02-07 01:12:47 +0000 |
commit | 49869c98f359c68baa4ef6e26f7d5b36c348341c (patch) | |
tree | a957b1349c2aa7acb9a4a26e83f4d039b6550449 /libs/surfaces/frontier | |
parent | 6be56d78b199452e5dba726f2d7aaab2777d2b49 (diff) |
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
Diffstat (limited to 'libs/surfaces/frontier')
-rw-r--r-- | libs/surfaces/frontier/tranzport/tranzport_control_protocol.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/surfaces/frontier/tranzport/tranzport_control_protocol.cc b/libs/surfaces/frontier/tranzport/tranzport_control_protocol.cc index 7bda9a3e5d..550daef37b 100644 --- a/libs/surfaces/frontier/tranzport/tranzport_control_protocol.cc +++ b/libs/surfaces/frontier/tranzport/tranzport_control_protocol.cc @@ -1708,13 +1708,13 @@ TranzportControlProtocol::shuttle () if (session->transport_speed() < 0) { session->request_transport_speed (1.0); } else { - session->request_transport_speed (session->transport_speed() + 0.1); + session->request_transport_speed_nonzero (session->transport_speed() + 0.1); } } else { if (session->transport_speed() > 0) { session->request_transport_speed (-1.0); } else { - session->request_transport_speed (session->transport_speed() - 0.1); + session->request_transport_speed_nonzero (session->transport_speed() - 0.1); } } } |