From fad1d07747df762b70e1302d1d89db7e11bc275b Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Sat, 17 Jul 2021 20:49:45 -0500 Subject: [PATCH] Fix the shuttle slider (TM) --- gtk2_ardour/shuttle_control.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/shuttle_control.cc b/gtk2_ardour/shuttle_control.cc index dcacc261b6..88c6d7ba6b 100644 --- a/gtk2_ardour/shuttle_control.cc +++ b/gtk2_ardour/shuttle_control.cc @@ -600,7 +600,7 @@ ShuttleControl::use_shuttle_fract (bool force, bool zero_ok) more than once per process cycle. */ - if (!force && (last_shuttle_request - now) < (PBD::microseconds_t) AudioEngine::instance()->usecs_per_cycle()) { + if (!force && (now - last_shuttle_request) < (PBD::microseconds_t) AudioEngine::instance()->usecs_per_cycle()) { return; }