Update Lua VAMP scripts to show a progress dialog
[ardour.git] / scripts / _toggle_monitor_section.lua
1 ardour { ["type"] = "Snippet", name = "Toggle Monitor Section" }
2
3 function factory () return function () 
4         if Session:monitor_out():isnil() then
5                 ARDOUR.config():set_use_monitor_bus (true)
6         else
7                 ARDOUR.config():set_use_monitor_bus (false)
8                 collectgarbage ()
9         end
10 end end