mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-24 22:27:36 +01:00
Update scripts, monitor-section API change
This commit is contained in:
parent
1854a72b80
commit
9836304e3e
2 changed files with 1 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue