diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-03-24 14:01:31 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-03-24 14:01:31 +0000 |
commit | 2726184f42652a84816096887948658177ea24f8 (patch) | |
tree | a94ae006bedd134a762cd6ba2a1ab4d643b2f3be /libs/ardour/delivery.cc | |
parent | b3a3e66f7755fe35ace4cbb6b19b54a52bb71a2f (diff) |
remove XML-based constructors for several types of Processors; less debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@6790 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/delivery.cc')
-rw-r--r-- | libs/ardour/delivery.cc | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/libs/ardour/delivery.cc b/libs/ardour/delivery.cc index 7d6a4d9d79..eaf58c0a9b 100644 --- a/libs/ardour/delivery.cc +++ b/libs/ardour/delivery.cc @@ -94,61 +94,6 @@ Delivery::Delivery (Session& s, boost::shared_ptr<MuteMaster> mm, const string& CycleStart.connect_same_thread (*this, boost::bind (&Delivery::cycle_start, this, _1)); } -/* deliver to a new IO object, reconstruct from XML */ - -Delivery::Delivery (Session& s, boost::shared_ptr<MuteMaster> mm, const XMLNode& node) - : IOProcessor (s, false, true, "reset") - , _role (Role (0)) - , _output_buffers (new BufferSet()) - , _current_gain (1.0) - , _output_offset (0) - , _no_outs_cuz_we_no_monitor (false) - , _solo_level (0) - , _solo_isolated (false) - , _mute_master (mm) - , no_panner_reset (false) -{ - _panner = boost::shared_ptr<Panner>(new Panner (_name, _session)); - _display_to_user = false; - - if (set_state (node, Stateful::loading_state_version)) { - throw failed_constructor (); - } - - if (_output) { - _output->changed.connect_same_thread (*this, boost::bind (&Delivery::output_changed, this, _1, _2)); - } - - CycleStart.connect_same_thread (*this, boost::bind (&Delivery::cycle_start, this, _1)); -} - -/* deliver to an existing IO object, reconstruct from XML */ - -Delivery::Delivery (Session& s, boost::shared_ptr<IO> out, boost::shared_ptr<MuteMaster> mm, const XMLNode& node) - : IOProcessor (s, boost::shared_ptr<IO>(), out, "reset") - , _role (Role (0)) - , _output_buffers (new BufferSet()) - , _current_gain (1.0) - , _output_offset (0) - , _no_outs_cuz_we_no_monitor (false) - , _solo_level (0) - , _solo_isolated (false) - , _mute_master (mm) - , no_panner_reset (false) -{ - _panner = boost::shared_ptr<Panner>(new Panner (_name, _session)); - _display_to_user = false; - - if (set_state (node, Stateful::loading_state_version)) { - throw failed_constructor (); - } - - if (_output) { - _output->changed.connect_same_thread (*this, boost::bind (&Delivery::output_changed, this, _1, _2)); - } - - CycleStart.connect_same_thread (*this, boost::bind (&Delivery::cycle_start, this, _1)); -} Delivery::~Delivery() { |