debug instrumentation for locate time
[ardour.git] / libs / ardour / internal_return.cc
index 1eae5d31719e4fde4a97f8a19e1594729e4264f1..28089feef466f09eae4df7257ac9a989045bb921 100644 (file)
@@ -32,14 +32,14 @@ InternalReturn::InternalReturn (Session& s)
 }
 
 void
-InternalReturn::run (BufferSet& bufs, framepos_t /*start_frame*/, framepos_t /*end_frame*/, pframes_t nframes, bool)
+InternalReturn::run (BufferSet& bufs, framepos_t /*start_frame*/, framepos_t /*end_frame*/, double /*speed*/, pframes_t nframes, bool)
 {
        if (!_active && !_pending_active) {
                return;
        }
 
        Glib::Threads::Mutex::Lock lm (_sends_mutex, Glib::Threads::TRY_LOCK);
-       
+
        if (lm.locked ()) {
                for (list<InternalSend*>::iterator i = _sends.begin(); i != _sends.end(); ++i) {
                        if ((*i)->active () && (!(*i)->source_route() || (*i)->source_route()->active())) {
@@ -70,7 +70,7 @@ InternalReturn::state (bool full)
 {
        XMLNode& node (Return::state (full));
        /* override type */
-       node.add_property("type", "intreturn");
+       node.set_property("type", "intreturn");
        return node;
 }