if (_phase_invert[c] != yn) {
_phase_invert[c] = yn;
phase_invert_changed (); /* EMIT SIGNAL */
+ _phase_control->Changed(); /* EMIT SIGNAL */
_session.set_dirty ();
}
}
return _trim_control;
}
+boost::shared_ptr<Route::PhaseControllable>
+Route::phase_control() const
+{
+ if (phase_invert().size()) {
+ return _phase_control;
+ } else {
+ return boost::shared_ptr<PhaseControllable>();
+ }
+}
+
boost::shared_ptr<AutomationControl>
Route::get_control (const Evoral::Parameter& param)
{
for (i = _processors.begin(); i != _processors.end(); ++i) {
if (boost::dynamic_pointer_cast<Send> (*i)) {
- if ((*i)->name() == _("Monitor 1")) {
+ if ((*i)->name().find (_("Monitor")) == 0) {
/* send to monitor section is not considered
to be an accessible send.
*/
return _("Compressor");
case 2:
return _("Limiter");
+ case 3:
+ return mixbus() ? _("Sidechain") : _("Limiter");
}
return _("???");
case 1:
return _("Ratio");
case 2:
+ case 3:
return _("Rels");
}
return _("???");