Add BasicUI::click_gain()

Towards removing the direct use of Session by surfaces.
This commit is contained in:
David Robillard 2021-06-16 02:01:31 -04:00
parent fad1531b2d
commit 453fac0df7
5 changed files with 15 additions and 4 deletions

View file

@ -1041,7 +1041,7 @@ Push2::other_vpot (int n, int delta)
break;
case 1:
/* metronome gain control */
click_gain = _session->click_gain();
click_gain = this->click_gain();
if (click_gain) {
boost::shared_ptr<AutomationControl> ac = click_gain->gain_control();
if (ac) {