13
0

Update Lua script to new request_transport_speed() API

This commit is contained in:
Robin Gareus 2021-12-18 15:36:40 +01:00
parent d28422d420
commit 4852ebc49a
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -26,7 +26,7 @@ function factory (params)
if speed < -0.25 then delta = delta * -1 end if speed < -0.25 then delta = delta * -1 end
if speed > 0.25 then delta = delta * -1 end if speed > 0.25 then delta = delta * -1 end
speed = speed + delta speed = speed + delta
Session:request_transport_speed (speed, true, ARDOUR.TransportRequestSource.TRS_UI) Session:request_transport_speed (speed, ARDOUR.TransportRequestSource.TRS_UI)
end end
end end
end end