Update scripts, monitor-section API change
This commit is contained in:
parent
1854a72b80
commit
9836304e3e
|
@ -2,10 +2,8 @@ ardour { ["type"] = "Snippet", name = "Toggle Monitor Section" }
|
|||
|
||||
function factory () return function ()
|
||||
if Session:monitor_out():isnil() then
|
||||
Session:add_monitor_section ()
|
||||
ARDOUR.config():set_use_monitor_bus (true)
|
||||
else
|
||||
Session:remove_monitor_section ()
|
||||
ARDOUR.config():set_use_monitor_bus (false)
|
||||
collectgarbage ()
|
||||
end
|
||||
|
|
|
@ -49,7 +49,7 @@ function factory () return function ()
|
|||
end
|
||||
|
||||
if rv['monitor'] then
|
||||
Session:add_monitor_section ()
|
||||
ARDOUR.config():set_use_monitor_bus (true)
|
||||
end
|
||||
|
||||
ARDOUR.config():set_input_auto_connect (rv['ac_input'])
|
||||
|
|
Loading…
Reference in New Issue
Block a user