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
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
6 changed files with 10 additions and 11 deletions

View file

@ -28,7 +28,7 @@ function factory (params)
end
a = a + n_samples
if (a > timeout * Session:sample_rate()) then
Session:request_transport_speed(0.0, true)
Session:request_transport_speed(0.0, true, ARDOUR.TransportRequestSource.TRS_Engine)
end
end
end