diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-09-13 11:55:56 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-09-13 11:55:56 -0400 |
commit | 4861eca97483128e5febb575b94688581abb0154 (patch) | |
tree | 9893912806d7267a0086a94d4065d32663fe157b /libs/ardour/port.cc | |
parent | c985a64d5851634a77bc013a7f66ef8d9ccefcae (diff) | |
parent | 83a826095deaddb90b8236a757c384aa6f120e71 (diff) |
Merge branch 'master' into windows
Diffstat (limited to 'libs/ardour/port.cc')
-rw-r--r-- | libs/ardour/port.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/port.cc b/libs/ardour/port.cc index d8a32e3467..bc5d26fb80 100644 --- a/libs/ardour/port.cc +++ b/libs/ardour/port.cc @@ -124,7 +124,7 @@ Port::disconnect_all () bool Port::connected_to (std::string const & o) const { - if (!port_engine.connected()) { + if (!port_engine.available()) { return false; } @@ -134,7 +134,7 @@ Port::connected_to (std::string const & o) const int Port::get_connections (std::vector<std::string> & c) const { - if (!port_engine.connected()) { + if (!port_engine.available()) { c.insert (c.end(), _connections.begin(), _connections.end()); return c.size(); } |