X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fport_insert.cc;h=0fb82fca8f9ba6dd7091d3dba9b22058f7b29c56;hb=ac367e89043e0a7f0db6ca44edf5edaab27e8091;hp=f0940670d44164a9d423ee22c9a0cf265b4f59ea;hpb=b3fcaf71d4ce6ed9e90c8cab14cd6c81f65a50c6;p=ardour.git diff --git a/libs/ardour/port_insert.cc b/libs/ardour/port_insert.cc index f0940670d4..0fb82fca8f 100644 --- a/libs/ardour/port_insert.cc +++ b/libs/ardour/port_insert.cc @@ -41,9 +41,9 @@ using namespace std; using namespace ARDOUR; using namespace PBD; -PortInsert::PortInsert (Session& s, boost::shared_ptr mm) +PortInsert::PortInsert (Session& s, boost::shared_ptr pannable, boost::shared_ptr mm) : IOProcessor (s, true, true, string_compose (_("insert %1"), (bitslot = s.next_insert_id()) + 1), "") - , _out (new Delivery (s, _output, mm, _name, Delivery::Insert)) + , _out (new Delivery (s, _output, pannable, mm, _name, Delivery::Insert)) { _mtdm = 0; _latency_detect = false; @@ -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;