summaryrefslogtreecommitdiff
path: root/libs/ardour/send.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/send.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/send.cc')
-rw-r--r--libs/ardour/send.cc32
1 files changed, 0 insertions, 32 deletions
diff --git a/libs/ardour/send.cc b/libs/ardour/send.cc
index ce48b2712b..819165b352 100644
--- a/libs/ardour/send.cc
+++ b/libs/ardour/send.cc
@@ -85,26 +85,6 @@ Send::Send (Session& s, boost::shared_ptr<Pannable> p, boost::shared_ptr<MuteMas
add_control (_amp->gain_control ());
}
-Send::Send (Session& s, const std::string& name, uint32_t bslot, boost::shared_ptr<Pannable> p, boost::shared_ptr<MuteMaster> mm, Role r)
- : Delivery (s, p, mm, name, r)
- , _metering (false)
- , _bitslot (bslot)
-{
- if (_role == Listen) {
- /* we don't need to do this but it keeps things looking clean
- in a debugger. _bitslot is not used by listen sends.
- */
- _bitslot = 0;
- }
-
- boost_debug_shared_ptr_mark_interesting (this, "send");
-
- _amp.reset (new Amp (_session));
- _meter.reset (new PeakMeter (_session));
-
- add_control (_amp->gain_control ());
-}
-
Send::~Send ()
{
_session.unmark_send_id (_bitslot);
@@ -315,18 +295,6 @@ Send::configure_io (ChanCount in, ChanCount out)
return true;
}
-/** Set up the XML description of a send so that we will not
- * reset its name or bitslot during ::set_state()
- * @param state XML send state.
- * @param session Session.
- */
-void
-Send::make_unique (XMLNode &state)
-{
- state.add_property ("ignore-bitslot", "1");
- state.add_property ("ignore-name", "1");
-}
-
bool
Send::set_name (const string& new_name)
{