diff options
author | Carl Hetherington <carl@carlh.net> | 2009-10-11 22:16:20 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-10-11 22:16:20 +0000 |
commit | ab1afe97fe235513791ecda9d2d90596a58a776d (patch) | |
tree | a619821067fc417dbe51151fac8011a1d1e588de /gtk2_ardour/port_matrix.cc | |
parent | d0a238bb8ecb6bb617abc92404471efd563c61c3 (diff) |
Make the port matrix notice if JACK ports are registered or unregistered.
git-svn-id: svn://localhost/ardour2/branches/3.0@5765 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/port_matrix.cc')
-rw-r--r-- | gtk2_ardour/port_matrix.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/port_matrix.cc b/gtk2_ardour/port_matrix.cc index d9eea649e9..febd6ab565 100644 --- a/gtk2_ardour/port_matrix.cc +++ b/gtk2_ardour/port_matrix.cc @@ -29,6 +29,7 @@ #include "ardour/types.h" #include "ardour/session.h" #include "ardour/route.h" +#include "ardour/audioengine.h" #include "port_matrix.h" #include "port_matrix_body.h" #include "port_matrix_component.h" @@ -73,6 +74,9 @@ PortMatrix::PortMatrix (Window* parent, Session& session, DataType type) /* and also bundles */ _session.BundleAdded.connect (sigc::hide (mem_fun (*this, &PortMatrix::setup_global_ports))); + + /* and also ports */ + _session.engine().PortRegisteredOrUnregistered.connect (mem_fun (*this, &PortMatrix::setup_all_ports)); reconnect_to_routes (); |