summaryrefslogtreecommitdiff
path: root/libs/ardour/internal_return.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-10-04 00:35:29 +0200
committerRobin Gareus <robin@gareus.org>2017-10-04 00:54:55 +0200
commite31f5d999837b0d0d63dc824c50e9da4acca7244 (patch)
treeef4712ccd25e8cc651ffabcd16e120571c21921d /libs/ardour/internal_return.cc
parent5dd9acf9ab39306277652c28fb5ac4af330e0af0 (diff)
Clean up State API:
* Processor implement get_state(), classes derived from Processor implement protected ::state() -- as documented in processor.h * likewise for Route, Track: make ::state() a protected interface * removal of "full_state", use explicit "template_save" * use RAII/Unwind to skip saving automation-state
Diffstat (limited to 'libs/ardour/internal_return.cc')
-rw-r--r--libs/ardour/internal_return.cc10
1 files changed, 2 insertions, 8 deletions
diff --git a/libs/ardour/internal_return.cc b/libs/ardour/internal_return.cc
index 0f7eb295d6..a162628853 100644
--- a/libs/ardour/internal_return.cc
+++ b/libs/ardour/internal_return.cc
@@ -77,20 +77,14 @@ InternalReturn::set_playback_offset (samplecnt_t cnt)
}
XMLNode&
-InternalReturn::state (bool full)
+InternalReturn::state ()
{
- XMLNode& node (Return::state (full));
+ XMLNode& node (Return::state ());
/* override type */
node.set_property("type", "intreturn");
return node;
}
-XMLNode&
-InternalReturn::get_state()
-{
- return state (true);
-}
-
bool
InternalReturn::can_support_io_configuration (const ChanCount& in, ChanCount& out)
{