Fix unit-test data (XML attributes changed)
[ardour.git] / libs / ardour / internal_return.cc
index 4947231c84717b9836a405c7d5dfc09eaa7aa6f3..28089feef466f09eae4df7257ac9a989045bb921 100644 (file)
@@ -32,7 +32,7 @@ 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;
@@ -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;
 }