fix port-matrix (update with session)
This commit is contained in:
parent
84465f1ca2
commit
b38aa73df1
@ -192,6 +192,15 @@ GlobalPortMatrixWindow::set_session (Session* s)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
GlobalPortMatrix::set_session (Session *s)
|
||||||
|
{
|
||||||
|
SessionHandlePtr::set_session (s);
|
||||||
|
if (!s) return;
|
||||||
|
setup_all_ports ();
|
||||||
|
init();
|
||||||
|
}
|
||||||
|
|
||||||
string
|
string
|
||||||
GlobalPortMatrix::disassociation_verb () const
|
GlobalPortMatrix::disassociation_verb () const
|
||||||
{
|
{
|
||||||
|
@ -31,6 +31,7 @@ public:
|
|||||||
GlobalPortMatrix (Gtk::Window*, ARDOUR::Session*, ARDOUR::DataType);
|
GlobalPortMatrix (Gtk::Window*, ARDOUR::Session*, ARDOUR::DataType);
|
||||||
|
|
||||||
void setup_ports (int);
|
void setup_ports (int);
|
||||||
|
void set_session (ARDOUR::Session* s);
|
||||||
|
|
||||||
void set_state (ARDOUR::BundleChannel c[2], bool);
|
void set_state (ARDOUR::BundleChannel c[2], bool);
|
||||||
PortMatrixNode::State get_state (ARDOUR::BundleChannel c[2]) const;
|
PortMatrixNode::State get_state (ARDOUR::BundleChannel c[2]) const;
|
||||||
|
Loading…
Reference in New Issue
Block a user