mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-11 09:06:33 +01:00
MIDI PC/CC script: missed a 'local' declaration
This commit is contained in:
parent
3a61a355ee
commit
d8f01e1eb8
1 changed files with 1 additions and 0 deletions
|
|
@ -111,6 +111,7 @@ function roll_transport(value, location)
|
||||||
Session:request_stop (false, false, ARDOUR.TransportRequestSource.TRS_UI)
|
Session:request_stop (false, false, ARDOUR.TransportRequestSource.TRS_UI)
|
||||||
else
|
else
|
||||||
-- default value of location is 0 (start of session)
|
-- default value of location is 0 (start of session)
|
||||||
|
local start_sample
|
||||||
if not location then
|
if not location then
|
||||||
start_sample = 0
|
start_sample = 0
|
||||||
elseif type(location) == "string" then
|
elseif type(location) == "string" then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue