Make LV2World local to lv2_plugin.cc
[ardour.git] / libs / ardour / port_insert.cc
index f0940670d44164a9d423ee22c9a0cf265b4f59ea..0fb82fca8f9ba6dd7091d3dba9b22058f7b29c56 100644 (file)
@@ -41,9 +41,9 @@ using namespace std;
 using namespace ARDOUR;
 using namespace PBD;
 
-PortInsert::PortInsert (Session& s, boost::shared_ptr<MuteMaster> mm)
+PortInsert::PortInsert (Session& s, boost::shared_ptr<Pannable> pannable, boost::shared_ptr<MuteMaster> 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;