mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +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
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue