Categorize the mixer actions.
[ardour.git] / gtk2_ardour / processor_box.cc
index 853544a6b6b481f15fa4c68b8f1d479987de48fb..b5fe9abbe26600e5427ecd717f56839ac3bdf631 100644 (file)
@@ -2916,7 +2916,7 @@ ProcessorBox::setup_routing_feeds ()
                        (*i)->input_icon.set_ports (p->input_streams());
                        (*i)->output_icon.set_ports (p->output_streams());
                        ChanMapping inmap (p->input_streams ());
-                       ChanMapping outmap (p->input_streams ());
+                       ChanMapping outmap (p->output_streams ());
                        ChanMapping thrumap;
                        (*i)->routing_icon.set (
                                        p->input_streams(),
@@ -4234,6 +4234,7 @@ ProcessorWindowProxy::processor_going_away ()
           send DropReferences is about to be deleted, but lets do it anyway.
        */
        going_away_connection.disconnect();
+       delete this;
 }
 
 ARDOUR::SessionHandlePtr*
@@ -4369,6 +4370,7 @@ PluginPinWindowProxy::processor_going_away ()
        _window = 0;
        WM::Manager::instance().remove (this);
        going_away_connection.disconnect();
+       delete this;
 }
 
 void