From: Carl Hetherington Date: Wed, 30 Mar 2011 12:59:15 +0000 (+0000) Subject: Save/restore PortInsert state fully (fixes #3901). X-Git-Tag: 3.0-alpha5~283 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=53d0aeea2b7fc9904e9e395b01b4b39c383c11e7;p=ardour.git Save/restore PortInsert state fully (fixes #3901). git-svn-id: svn://localhost/ardour2/branches/3.0@9244 d708f5d6-7413-0410-9779-e7cbd77b26cf --- 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;