mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-27 17:07:40 +01:00
Add BasicUI::master_out() and BasicUI::monitor_out()
Towards removing the direct use of Session by surfaces.
This commit is contained in:
parent
b35f9ca1a0
commit
0dc7cbba14
21 changed files with 72 additions and 55 deletions
|
|
@ -828,3 +828,15 @@ BasicUI::config ()
|
|||
{
|
||||
return _session->config;
|
||||
}
|
||||
|
||||
boost::shared_ptr<Stripable>
|
||||
BasicUI::monitor_out () const
|
||||
{
|
||||
return _session->monitor_out ();
|
||||
}
|
||||
|
||||
boost::shared_ptr<Stripable>
|
||||
BasicUI::master_out () const
|
||||
{
|
||||
return _session->master_out ();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@
|
|||
|
||||
namespace ARDOUR {
|
||||
|
||||
class Route;
|
||||
class Session;
|
||||
class SessionConfiguration;
|
||||
|
||||
|
|
@ -172,6 +173,11 @@ class LIBCONTROLCP_API BasicUI {
|
|||
const SessionConfiguration& config () const;
|
||||
SessionConfiguration& config ();
|
||||
|
||||
/* Monitor/Master Out */
|
||||
|
||||
boost::shared_ptr<Stripable> monitor_out () const;
|
||||
boost::shared_ptr<Stripable> master_out () const;
|
||||
|
||||
protected:
|
||||
Session* _session;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue