mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-31 19:07:43 +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
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue