summaryrefslogtreecommitdiff
path: root/libs/ardour/processor.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-05-16 02:51:17 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-05-16 02:51:17 +0000
commitace07c80a81a631eb8ff95155e5ace2751838809 (patch)
tree4e440b7878535f04561dbddbe3ae4848a3207840 /libs/ardour/processor.cc
parent86dda29be798073d3d8b08aa833b52773b41daad (diff)
a gadzillion changes all over the place. nothing is finished, but all is better than it was. more to come on all almost everything touched by this commit, this is purely a sync-to-repository. compiles and runs, but now incompatible with all previous 3.0 session files (probably)
git-svn-id: svn://localhost/ardour2/branches/3.0@5084 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/processor.cc')
-rw-r--r--libs/ardour/processor.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/libs/ardour/processor.cc b/libs/ardour/processor.cc
index 84fb43d68c..3fc9fcaee2 100644
--- a/libs/ardour/processor.cc
+++ b/libs/ardour/processor.cc
@@ -64,17 +64,10 @@ Processor::Processor(Session& session, const string& name)
, _active(false)
, _next_ab_is_active(false)
, _configured(false)
- , _sort_key (0)
, _gui(0)
{
}
-void
-Processor::set_sort_key (uint32_t key)
-{
- _sort_key = key;
-}
-
XMLNode&
Processor::get_state (void)
{
@@ -102,14 +95,10 @@ Processor::state (bool full_state)
stringstream sstr;
char buf[64];
- // NOTE: This conflicts with "id" used by plugin for name in legacy sessions
-
id().print (buf, sizeof (buf));
node->add_property("id", buf);
node->add_property("name", _name);
node->add_property("active", active() ? "yes" : "no");
- snprintf (buf, sizeof (buf), "%u", _sort_key);
- node->add_property("sort-key", buf);
if (_extra_xml){
node->add_child_copy (*_extra_xml);