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

@ -877,6 +877,12 @@ BasicUI::master_out () const
return _session->master_out ();
}
boost::shared_ptr<Amp>
BasicUI::click_gain ()
{
return _session->click_gain ();
}
const Locations*
BasicUI::locations () const
{

View file

@ -39,6 +39,7 @@
namespace ARDOUR {
class Amp;
class Locations;
class RouteGroup;
class Session;
@ -206,6 +207,10 @@ public:
boost::shared_ptr<Stripable> monitor_out () const;
boost::shared_ptr<Stripable> master_out () const;
/* Clicking */
boost::shared_ptr<Amp> click_gain();
/* Locations */
const Locations* locations () const;