projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
leave some todo-notes #6709 (track templates & state)
[ardour.git]
/
libs
/
ardour
/
route.cc
diff --git
a/libs/ardour/route.cc
b/libs/ardour/route.cc
index 9e4e788c675de147316ddb583e883b5a4b05d158..78eca173974b0857a588acc6db0af6872088e238 100644
(file)
--- a/
libs/ardour/route.cc
+++ b/
libs/ardour/route.cc
@@
-4164,6
+4164,10
@@
Route::save_as_template (const string& path, const string& name)
IO::set_name_in_state (*node.children().front(), name);
tree.set_root (&node);
IO::set_name_in_state (*node.children().front(), name);
tree.set_root (&node);
+ // TODO: special case LV2 plugin state
+ // copy of serialize it. Alternatively:
+ // create a plugin-preset (which can be loaded separately)
+
/* return zero on success, non-zero otherwise */
return !tree.write (path.c_str());
}
/* return zero on success, non-zero otherwise */
return !tree.write (path.c_str());
}