use new Session transport API calls in GUI

This commit is contained in:
Paul Davis 2021-04-15 23:20:59 -06:00
parent 0bccc4bffd
commit 52b7e68102
9 changed files with 21 additions and 23 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, ARDOUR.TransportRequestSource.TRS_Engine)
Session:request_stop (false, false, TRS_UI);
end
end
end