Correct namespace of constants in some Lua scripts
This commit is contained in:
parent
d3fe3ab866
commit
797bc1a162
@ -29,7 +29,7 @@ function factory ()
|
|||||||
-- event at 09:32:00 UTC (here: rec-stop)
|
-- event at 09:32:00 UTC (here: rec-stop)
|
||||||
if (now >= hhmmss (09, 32, 00) and _last_time < hhmmss (09, 32, 00)) then
|
if (now >= hhmmss (09, 32, 00) and _last_time < hhmmss (09, 32, 00)) then
|
||||||
Session:disable_record (false, false)
|
Session:disable_record (false, false)
|
||||||
Session:request_stop (false, false, TRS_UI);
|
Session:request_stop (false, false, ARDOUR.TransportRequestSource.TRS_UI);
|
||||||
end
|
end
|
||||||
|
|
||||||
_last_time = now
|
_last_time = now
|
||||||
|
@ -28,7 +28,7 @@ function factory (params)
|
|||||||
end
|
end
|
||||||
a = a + n_samples
|
a = a + n_samples
|
||||||
if (a > timeout * Session:sample_rate()) then
|
if (a > timeout * Session:sample_rate()) then
|
||||||
Session:request_stop (false, false, TRS_UI);
|
Session:request_stop (false, false, ARDOUR.TransportRequestSource.TRS_UI);
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user