Add BasicUI::master_out() and BasicUI::monitor_out()

Towards removing the direct use of Session by surfaces.
This commit is contained in:
David Robillard 2021-06-15 19:59:23 -04:00
parent b35f9ca1a0
commit 0dc7cbba14
21 changed files with 72 additions and 55 deletions

View file

@ -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;

View file

@ -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 */