X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Froute.cc;h=5eb962da5aa0ff081eff697aa6087e334d224fc6;hb=8f7ae26a962fb100c4190b04aff3fad337e78c04;hp=4dce24d9fbe45bee27014377e9d0c16644fca485;hpb=c56058b9de7b5e2d87fa0d04d94042ced25b6d51;p=ardour.git diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index 4dce24d9fb..5eb962da5a 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -4115,6 +4115,7 @@ Route::set_phase_invert (uint32_t c, bool yn) if (_phase_invert[c] != yn) { _phase_invert[c] = yn; phase_invert_changed (); /* EMIT SIGNAL */ + _phase_control->Changed(); /* EMIT SIGNAL */ _session.set_dirty (); } } @@ -4208,6 +4209,16 @@ Route::trim_control() const return _trim_control; } +boost::shared_ptr +Route::phase_control() const +{ + if (phase_invert().size()) { + return _phase_control; + } else { + return boost::shared_ptr(); + } +} + boost::shared_ptr Route::get_control (const Evoral::Parameter& param) { @@ -4264,7 +4275,7 @@ Route::nth_send (uint32_t n) const for (i = _processors.begin(); i != _processors.end(); ++i) { if (boost::dynamic_pointer_cast (*i)) { - if ((*i)->name() == _("Monitor 1")) { + if ((*i)->name().find (_("Monitor")) == 0) { /* send to monitor section is not considered to be an accessible send. */ @@ -5229,6 +5240,8 @@ Route::comp_mode_name (uint32_t mode) const return _("Compressor"); case 2: return _("Limiter"); + case 3: + return mixbus() ? _("Sidechain") : _("Limiter"); } return _("???"); @@ -5247,6 +5260,7 @@ Route::comp_speed_name (uint32_t mode) const case 1: return _("Ratio"); case 2: + case 3: return _("Rels"); } return _("???");