mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
Add BasicUI::click_gain()
Towards removing the direct use of Session by surfaces.
This commit is contained in:
parent
fad1531b2d
commit
453fac0df7
5 changed files with 15 additions and 4 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue