Update Lua script to new request_transport_speed() API
This commit is contained in:
parent
d28422d420
commit
4852ebc49a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user