mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
Redesign Session+Route Template Meta Script API
Remove special-cased script types. Allow Action-Scripts to be re-used for session-setup or route-templates.
This commit is contained in:
parent
e951e68780
commit
e0a83a758e
14 changed files with 344 additions and 77 deletions
|
|
@ -1,11 +1,11 @@
|
|||
ardour {
|
||||
["type"] = "SessionSetup",
|
||||
["type"] = "SessionInit",
|
||||
name = "Advanced Session",
|
||||
description = [[Allows to configure master-bus and autoconnect]],
|
||||
master_bus = 0
|
||||
}
|
||||
|
||||
function session_setup ()
|
||||
function factory () return function ()
|
||||
|
||||
local auto_connect_in = {
|
||||
[0] = "Manually",
|
||||
|
|
@ -56,4 +56,4 @@ function session_setup ()
|
|||
ARDOUR.config():set_output_auto_connect (rv['ac_output'])
|
||||
|
||||
Session:save_state("");
|
||||
end
|
||||
end end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue