Save/restore PortInsert state fully (fixes #3901).
authorCarl Hetherington <carl@carlh.net>
Wed, 30 Mar 2011 12:59:15 +0000 (12:59 +0000)
committerCarl Hetherington <carl@carlh.net>
Wed, 30 Mar 2011 12:59:15 +0000 (12:59 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@9244 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/port_insert.cc

index df758e223088467cec3c832a3b9c576c81a82576..0fb82fca8f9ba6dd7091d3dba9b22058f7b29c56 100644 (file)
@@ -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;