if (s) {
if (s->solo_control()) {
s->solo_control()->set_value (yn ? 1.0 : 0.0, PBD::Controllable::NoGroup);
- return 0;
+ return route_send_fail ("solo", ssid, (float) s->solo_control()->get_value(), get_address (msg));
}
}
if (s) {
if (s->solo_control()) {
s->solo_control()->set_value (yn ? 1.0 : 0.0, PBD::Controllable::NoGroup);
- return 0;
+ return sel_fail ("solo", (float) s->solo_control()->get_value(), get_address (msg));
}
}
return sel_fail ("solo", 0, get_address (msg));
if (s) {
if (s->rec_enable_control()) {
s->rec_enable_control()->set_value (yn ? 1.0 : 0.0, PBD::Controllable::NoGroup);
- return 0;
+ if (s->rec_enable_control()->get_value()) {
+ return 0;
+ }
}
}
return sel_fail ("recenable", 0, get_address (msg));
if (s) {
if (s->rec_safe_control()) {
s->rec_safe_control()->set_value (yn ? 1.0 : 0.0, PBD::Controllable::NoGroup);
- return 0;
+ if (s->rec_safe_control()->get_value()) {
+ return 0;
+ }
}
}
return sel_fail ("record_safe", 0, get_address (msg));