mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 16:24:57 +01:00
Update Lua scripts to use new transport request API
This commit is contained in:
parent
c10df23a0f
commit
7d8918034a
6 changed files with 10 additions and 11 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue