mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 04:39:33 +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
|
|
@ -739,7 +739,7 @@ Push2::button_mix_press ()
|
|||
void
|
||||
Push2::button_master ()
|
||||
{
|
||||
boost::shared_ptr<Stripable> main_out = _session->master_out ();
|
||||
boost::shared_ptr<Stripable> main_out = master_out ();
|
||||
|
||||
if (!main_out) {
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ Push2::Push2 (ARDOUR::Session& s)
|
|||
fill_color_table ();
|
||||
|
||||
/* master cannot be removed, so no need to connect to going-away signal */
|
||||
master = _session->master_out ();
|
||||
master = master_out ();
|
||||
|
||||
/* allocate graphics layouts, even though we're not using them yet */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue