Update Lua scripts to use new transport request API

This commit is contained in:
Robin Gareus
2019-11-26 17:02:41 +01:00
parent c10df23a0f
commit 7d8918034a
6 changed files with 10 additions and 11 deletions

View File

@@ -26,7 +26,7 @@ function factory ()
-- maybe-enable may fail if there are no tracks or step-entry is active
-- roll transport if record-enable suceeded:
if ARDOUR.Session.RecordState.Enabled == Session:record_status() then
Session:request_transport_speed (1.0, true) -- ...and go.
Session:request_transport_speed (1.0, true, ARDOUR.TransportRequestSource.TRS_UI) -- ...and go.
end
return
end