mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
libardour: change API of Session::request_locate() to include "force" argument (script edition)
This commit is contained in:
parent
e2e6274956
commit
fd879ca45d
4 changed files with 4 additions and 4 deletions
|
|
@ -48,7 +48,7 @@ function factory (params) return function ()
|
|||
end
|
||||
local t_end = ARDOUR.LuaAPI.monotonic_time ()
|
||||
|
||||
Session:request_locate((playhead + step * n_steps), ARDOUR.LocateTransportDisposition.MustStop, ARDOUR.TransportRequestSource.TRS_UI)
|
||||
Session:request_locate((playhead + step * n_steps), false, ARDOUR.LocateTransportDisposition.MustStop, ARDOUR.TransportRequestSource.TRS_UI)
|
||||
print (count_regions (), (t_end - t_start) / 1000 / n_steps)
|
||||
collectgarbage ();
|
||||
ARDOUR.LuaAPI.usleep(500000)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue