diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-04-10 08:58:25 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-04-10 08:58:25 -0400 |
commit | fa66d0ae38d8a2c7e4cb2d00cdb4a8cdda990999 (patch) | |
tree | 2241e3046db84b8094d58f0986f53b1ff1162596 /libs/ardour/port.cc | |
parent | c52f7957a9b350dbb0d290a39acd33eb4472a218 (diff) |
remove use of JACK headers to allow building on systems without JACK
Diffstat (limited to 'libs/ardour/port.cc')
-rw-r--r-- | libs/ardour/port.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libs/ardour/port.cc b/libs/ardour/port.cc index bc5d26fb80..19bebd103f 100644 --- a/libs/ardour/port.cc +++ b/libs/ardour/port.cc @@ -21,10 +21,6 @@ #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" #include "pbd/failed_constructor.h" @@ -382,7 +378,7 @@ Port::get_connected_latency_range (LatencyRange& range, bool playback) const boost::shared_ptr<Port> remote_port = AudioEngine::instance()->get_port_by_name (*c); if (remote_port) { - lr = remote_port->private_latency_range ((playback ? JackPlaybackLatency : JackCaptureLatency)); + lr = remote_port->private_latency_range ((playback ? true : false)); DEBUG_TRACE (DEBUG::Latency, string_compose ( "\t%1 <-LOCAL-> %2 : latter has latency range %3 .. %4\n", name(), *c, lr.min, lr.max)); |