diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-11-18 20:01:37 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-11-18 20:01:37 +0000 |
commit | 57e1358fb2d8a8ab51b4996808e0eaa41492fb9e (patch) | |
tree | b186bc07e6581dc6b96d1e805aee670ce99570c6 /libs/ardour/delivery.cc | |
parent | dd4565801be7daea2ffc7043de0cb70a247545b2 (diff) |
add "custom" meter option which is the only option where the meter processor is visible in the UI; hide main outs always
git-svn-id: svn://localhost/ardour2/branches/3.0@6126 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/delivery.cc')
-rw-r--r-- | libs/ardour/delivery.cc | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/libs/ardour/delivery.cc b/libs/ardour/delivery.cc index 5b063ad566..3494be2cf5 100644 --- a/libs/ardour/delivery.cc +++ b/libs/ardour/delivery.cc @@ -59,9 +59,9 @@ Delivery::Delivery (Session& s, boost::shared_ptr<IO> io, boost::shared_ptr<Mute , _solo_isolated (false) , _mute_master (mm) , no_panner_reset (false) - { _panner = boost::shared_ptr<Panner>(new Panner (_name, _session)); + _display_to_user = false; if (_output) { _output->changed.connect (mem_fun (*this, &Delivery::output_changed)); @@ -85,6 +85,7 @@ Delivery::Delivery (Session& s, boost::shared_ptr<MuteMaster> mm, const string& , no_panner_reset (false) { _panner = boost::shared_ptr<Panner>(new Panner (_name, _session)); + _display_to_user = false; if (_output) { _output->changed.connect (mem_fun (*this, &Delivery::output_changed)); @@ -108,6 +109,7 @@ Delivery::Delivery (Session& s, boost::shared_ptr<MuteMaster> mm, const XMLNode& , 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 (); @@ -135,6 +137,7 @@ Delivery::Delivery (Session& s, boost::shared_ptr<IO> out, boost::shared_ptr<Mut , 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 (); @@ -178,12 +181,6 @@ Delivery::increment_output_offset (nframes_t n) } bool -Delivery::visible () const -{ - return true; -} - -bool Delivery::can_support_io_configuration (const ChanCount& in, ChanCount& out) const { if (_role == Main) { |