#include "libardour-config.h"
#endif
+#ifndef PLATFORM_WINDOWS
#include <jack/weakjack.h> // so that we can test for new functions at runtime
+#endif
#include "pbd/compose.h"
#include "pbd/error.h"
bool
Port::connected_to (std::string const & o) const
{
- if (!port_engine.connected()) {
+ if (!port_engine.available()) {
return false;
}
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();
}