prototype track/bus sharing: state-export

This commit is contained in:
Robin Gareus 2017-01-08 01:23:01 +01:00
parent 134b69f267
commit d0596d815f
5 changed files with 86 additions and 1 deletions

View file

@ -0,0 +1,10 @@
ardour { ["type"] = "Snippet", name = "Export Track XML" }
function factory () return function ()
local rlp = ARDOUR.RouteListPtr ()
local sel = Editor:get_selection ()
for r in sel.tracks:routelist ():iter () do
rlp:push_back (r)
end
print (Session:export_track_state (rlp, "/tmp/rexport"))
end end