Rename ControlProtocol::session to ControlProtocol::_session

To match ARDOUR_UI, which this is something of a long lost base class of (and
hopefully in the future a literal base class of).
This commit is contained in:
David Robillard 2021-06-15 15:34:28 -04:00
parent 52139d8291
commit 6dfb04c4da
27 changed files with 506 additions and 469 deletions

View file

@ -932,7 +932,7 @@ LaunchControlXL::button_press_track_control(uint8_t n) {
boost::shared_ptr<AutomationControl> ac = get_ac_by_state(n);
if (ac) {
session->set_control (ac, !ac->get_value(), PBD::Controllable::UseGroup);
_session->set_control (ac, !ac->get_value(), PBD::Controllable::UseGroup);
}
}
@ -1012,7 +1012,7 @@ LaunchControlXL::button_mute()
void
LaunchControlXL::button_mute_long_press()
{
session->cancel_all_mute();
_session->cancel_all_mute();
}
void