mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-22 13:17:17 +01:00
Also move Lua scripts to share subfolder
This commit is contained in:
parent
bf649cd68a
commit
180843f9bd
129 changed files with 2 additions and 2 deletions
10
share/scripts/_toggle_monitor_section.lua
Normal file
10
share/scripts/_toggle_monitor_section.lua
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
ardour { ["type"] = "Snippet", name = "Toggle Monitor Section" }
|
||||
|
||||
function factory () return function ()
|
||||
if Session:monitor_out():isnil() then
|
||||
ARDOUR.config():set_use_monitor_bus (true)
|
||||
else
|
||||
ARDOUR.config():set_use_monitor_bus (false)
|
||||
collectgarbage ()
|
||||
end
|
||||
end end
|
||||
Loading…
Add table
Add a link
Reference in a new issue