Merge branch 'master' into windows
[ardour.git] / libs / ardour / audioengine.cc
index c2224a8b5efb2f0a4aefa3db63c96e7e071134ac..0119aa642c4e298af3595d69295eb008ba9c909d 100644 (file)
@@ -34,8 +34,6 @@
 #include "pbd/stacktrace.h"
 #include "pbd/unknown_type.h"
 
-#include <jack/weakjack.h>
-
 #include "midi++/port.h"
 #include "midi++/mmc.h"
 
@@ -662,23 +660,6 @@ AudioEngine::stop (bool for_latency)
        return 0;
 }
 
-int
-AudioEngine::pause ()
-{
-       if (!_backend) {
-               return 0;
-       }
-       
-       if (_backend->pause ()) {
-               return -1;
-       }
-
-       _running = false;
-       
-       Stopped(); /* EMIT SIGNAL */
-       return 0;
-}
-
 int
 AudioEngine::freewheel (bool start_stop)
 {
@@ -1082,8 +1063,8 @@ AudioEngine::start_latency_detection ()
 
        /* find the ports we will connect to */
 
-       PortEngine::PortHandle* out = pe.get_port_by_name (_latency_output_name);
-       PortEngine::PortHandle* in = pe.get_port_by_name (_latency_input_name);
+       PortEngine::PortHandle out = pe.get_port_by_name (_latency_output_name);
+       PortEngine::PortHandle in = pe.get_port_by_name (_latency_input_name);
 
        if (!out || !in) {
                stop (true);