diff options
Diffstat (limited to 'libs/ardour/io.cc')
-rw-r--r-- | libs/ardour/io.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libs/ardour/io.cc b/libs/ardour/io.cc index a41003cf89..8b52bfaea5 100644 --- a/libs/ardour/io.cc +++ b/libs/ardour/io.cc @@ -1553,3 +1553,15 @@ IO::port_by_name (const std::string& str) const return 0; } + +bool +IO::physically_connected () const +{ + for (PortSet::const_iterator i = _ports.begin(); i != _ports.end(); ++i) { + if (i->physically_connected()) { + return true; + } + } + + return false; +} |