summaryrefslogtreecommitdiff
path: root/libs/ardour/return.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-03-15 02:31:09 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-03-15 02:31:09 +0000
commit730937dc37237c580238171f30e1c02243b8f758 (patch)
tree37b8e129b12bcc81c4613c885bd1b6cb614003ba /libs/ardour/return.cc
parent86a0fe1b43432bc56f24644ec06d8e2d214cc8d5 (diff)
better, cleaner fix for copying sends/returns/port inserts via XML state
git-svn-id: svn://localhost/ardour2/branches/3.0@11691 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/return.cc')
-rw-r--r--libs/ardour/return.cc23
1 files changed, 0 insertions, 23 deletions
diff --git a/libs/ardour/return.cc b/libs/ardour/return.cc
index 8433f7de08..0152155338 100644
--- a/libs/ardour/return.cc
+++ b/libs/ardour/return.cc
@@ -57,17 +57,6 @@ Return::Return (Session& s, bool internal)
_meter.reset (new PeakMeter (_session));
}
-Return::Return (Session& s, const std::string& name, uint32_t bslot, bool internal)
- : IOProcessor (s, (internal ? false : true), false, name)
- , _metering (false)
- , _bitslot (bslot)
-{
- /* never muted */
-
- _amp.reset (new Amp (_session));
- _meter.reset (new PeakMeter (_session));
-}
-
Return::~Return ()
{
_session.unmark_return_id (_bitslot);
@@ -175,15 +164,3 @@ Return::configure_io (ChanCount in, ChanCount out)
return true;
}
-/** Set up the XML description of a return so that we will not
- * reset its name or bitslot during ::set_state()
- * @param state XML return state.
- */
-void
-Return::make_unique (XMLNode &state)
-{
- state.add_property ("ignore-bitslot", "1");
- state.add_property ("ignore-name", "1");
-}
-
-