use Session::request_roll() instead of request_transport_speed (1.0, ...)

This commit is contained in:
Paul Davis 2021-04-17 13:29:00 -06:00
parent 52b7e68102
commit 48e5607f7c
13 changed files with 24 additions and 23 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, ARDOUR.TransportRequestSource.TRS_UI) -- ...and go.
Session:request_roll (ARDOUR.TransportRequestSource.TRS_UI) -- ...and go.
end
return
end