Clean up session after test.
[ardour.git] / libs / ardour / return.cc
index 10879d772206cb61172b1ae584f924b7e25cee33..ca02b11dc009648e1cef8aad538ee1005179351c 100644 (file)
@@ -31,6 +31,7 @@
 #include "ardour/return.h"
 #include "ardour/session.h"
 #include "ardour/mute_master.h"
+#include "ardour/audioengine.h"
 
 #include "i18n.h"
 
@@ -98,12 +99,12 @@ Return::set_state (const XMLNode& node, int version)
                sscanf (prop->value().c_str(), "%" PRIu32, &_bitslot);
                _session.mark_return_id (_bitslot);
        }
-        
+
        return 0;
 }
 
 void
-Return::run (BufferSet& bufs, sframes_t start_frame, sframes_t end_frame, nframes_t nframes, bool)
+Return::run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame, pframes_t nframes, bool)
 {
        if ((!_active && !_pending_active) || _input->n_ports() == ChanCount::ZERO) {
                return;