diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-03-15 02:31:09 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-03-15 02:31:09 +0000 |
commit | 730937dc37237c580238171f30e1c02243b8f758 (patch) | |
tree | 37b8e129b12bcc81c4613c885bd1b6cb614003ba /libs/ardour/port_insert.cc | |
parent | 86a0fe1b43432bc56f24644ec06d8e2d214cc8d5 (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/port_insert.cc')
-rw-r--r-- | libs/ardour/port_insert.cc | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/libs/ardour/port_insert.cc b/libs/ardour/port_insert.cc index 70f88e904f..cc27c6887f 100644 --- a/libs/ardour/port_insert.cc +++ b/libs/ardour/port_insert.cc @@ -58,17 +58,6 @@ PortInsert::PortInsert (Session& s, boost::shared_ptr<Pannable> pannable, boost: _measured_latency = 0; } -PortInsert::PortInsert (Session& s, const std::string& name, uint32_t bslot, boost::shared_ptr<Pannable> pannable, boost::shared_ptr<MuteMaster> mm) - : IOProcessor (s, true, true, name, "") - , _out (new Delivery (s, _output, pannable, mm, _name, Delivery::Insert)) - , _bitslot (bslot) -{ - _mtdm = 0; - _latency_detect = false; - _latency_flush_frames = false; - _measured_latency = 0; -} - PortInsert::~PortInsert () { _session.unmark_insert_id (_bitslot); @@ -315,15 +304,3 @@ PortInsert::deactivate () _out->deactivate (); } - -/** Set up the XML description of a send so that we will not - * reset its name or bitslot during ::set_state() - * @param state XML insert state. - */ - -void -PortInsert::make_unique (XMLNode &state) -{ - state.add_property ("ignore-bitslot", "1"); - state.add_property ("ignore-name", "1"); -} |