diff options
author | Carl Hetherington <carl@carlh.net> | 2011-03-30 12:59:15 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-03-30 12:59:15 +0000 |
commit | 53d0aeea2b7fc9904e9e395b01b4b39c383c11e7 (patch) | |
tree | 531b138cdcf0459265e6d87f1b86376457c08be5 /libs/ardour/port_insert.cc | |
parent | a8b4169cce468ddb4813c2062b5f03ef258a9f1f (diff) |
Save/restore PortInsert state fully (fixes #3901).
git-svn-id: svn://localhost/ardour2/branches/3.0@9244 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/port_insert.cc')
-rw-r--r-- | libs/ardour/port_insert.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/port_insert.cc b/libs/ardour/port_insert.cc index df758e2230..0fb82fca8f 100644 --- a/libs/ardour/port_insert.cc +++ b/libs/ardour/port_insert.cc @@ -161,7 +161,7 @@ PortInsert::get_state(void) XMLNode& PortInsert::state (bool full) { - XMLNode& node = Processor::state(full); + XMLNode& node = IOProcessor::state(full); char buf[32]; node.add_property ("type", "port"); snprintf (buf, sizeof (buf), "%" PRIu32, bitslot); @@ -192,7 +192,7 @@ PortInsert::set_state (const XMLNode& node, int version) } } - Processor::set_state (*insert_node, version); + IOProcessor::set_state (*insert_node, version); if ((prop = node.property ("type")) == 0) { error << _("XML node describing port insert is missing the `type' field") << endmsg; |