mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Foldback gui: desensitize solo button when in SIP mode
Because foldback by design goes to physical outputs rather than master or monitor, SIP solo does not work or make sense. PFL/AFL allow a foldback to be rough adjusted using the control room monitoring. A soloed Foldback bus will be released when the foldback strip is switched to a different foldback bus
This commit is contained in:
parent
ec35afef38
commit
abdb7b81c6
1 changed files with 9 additions and 0 deletions
|
|
@ -535,6 +535,9 @@ FoldbackStrip::set_route (boost::shared_ptr<Route> rt)
|
|||
|
||||
return;
|
||||
}
|
||||
if (_route) {
|
||||
_route->solo_control()->set_value (0.0, Controllable::NoGroup);
|
||||
}
|
||||
|
||||
RouteUI::set_route (rt);
|
||||
|
||||
|
|
@ -604,6 +607,7 @@ FoldbackStrip::set_route (boost::shared_ptr<Route> rt)
|
|||
map_frozen();
|
||||
|
||||
show ();
|
||||
set_button_names ();
|
||||
}
|
||||
|
||||
// predicate for sort call in get_sorted_stripables
|
||||
|
|
@ -1459,8 +1463,13 @@ FoldbackStrip::set_button_names ()
|
|||
solo_button->set_visual_state (Gtkmm2ext::VisualState (solo_button->visual_state() & ~Gtkmm2ext::Insensitive));
|
||||
}
|
||||
if (!Config->get_solo_control_is_listen_control()) {
|
||||
solo_button->set_sensitive (false);
|
||||
solo_button->set_text (_("Solo"));
|
||||
UI::instance()->set_tip (solo_button, _("Foldback Bus solo not possible in SIP mode"), "");
|
||||
solo_button->set_visual_state (Gtkmm2ext::VisualState (Gtkmm2ext::Insensitive));
|
||||
} else {
|
||||
solo_button->set_sensitive (true);
|
||||
UI::instance()->set_tip (solo_button, _("Mute other (non-soloed) tracks"), "");
|
||||
switch (Config->get_listen_position()) {
|
||||
case AfterFaderListen:
|
||||
solo_button->set_text (_("AFL"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue