mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
operate directly on realtime controls, not via Session
This commit is contained in:
parent
97f0415130
commit
14c50b317c
1 changed files with 2 additions and 4 deletions
|
|
@ -130,9 +130,7 @@ FaderPort::mute ()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
boost::shared_ptr<ControlList> cl (new ControlList);
|
_current_stripable->mute_control()->set_value (!_current_stripable->mute_control()->muted(), PBD::Controllable::UseGroup);
|
||||||
cl->push_back (_current_stripable->mute_control());
|
|
||||||
session->set_controls (cl, !_current_stripable->mute_control()->muted(), PBD::Controllable::UseGroup);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
@ -142,7 +140,7 @@ FaderPort::solo ()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
_current_stripable->solo_control()->set_value (_current_stripable->solo_control()->soloed() ? 0.0 : 1.0, PBD::Controllable::UseGroup);
|
_current_stripable->solo_control()->set_value (_current_stripable->solo_control()->soloed(), PBD::Controllable::UseGroup);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue