mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
fix port-matrix (update with session)
This commit is contained in:
parent
84465f1ca2
commit
b38aa73df1
2 changed files with 10 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue