X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fglobal_port_matrix.h;h=3def23a6a3d6c47c7f47d64d33931bbc015d04ea;hb=352c824fa3999244ef1ebf002d57d4b2dea5ae3c;hp=1dabcbd379339ae1eb0729dcd86062dbdbcd162d;hpb=05283a63398fd7a563480a76802e6b2c2ad2e404;p=ardour.git diff --git a/gtk2_ardour/global_port_matrix.h b/gtk2_ardour/global_port_matrix.h index 1dabcbd379..3def23a6a3 100644 --- a/gtk2_ardour/global_port_matrix.h +++ b/gtk2_ardour/global_port_matrix.h @@ -31,6 +31,7 @@ public: GlobalPortMatrix (Gtk::Window*, ARDOUR::Session*, ARDOUR::DataType); void setup_ports (int); + void set_session (ARDOUR::Session* s); void set_state (ARDOUR::BundleChannel c[2], bool); PortMatrixNode::State get_state (ARDOUR::BundleChannel c[2]) const; @@ -45,8 +46,8 @@ public: private: /* see PortMatrix: signal flow from 0 to 1 (out to in) */ enum { - OUT = 0, - IN = 1, + FLOW_OUT = 0, + FLOW_IN = 1, }; };