mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 03:36:32 +01:00
MCU: show surround master in global/mixer view
only if the controller doesn't have a master fader
This commit is contained in:
parent
18b027d1d0
commit
78bf5022d8
1 changed files with 9 additions and 8 deletions
|
|
@ -255,8 +255,7 @@ struct mcpStripableSorter
|
|||
{
|
||||
bool operator () (const std::shared_ptr<Stripable> & a, const std::shared_ptr<Stripable> & b) const
|
||||
{
|
||||
if (!(a->is_monitor() || b->is_monitor() ||
|
||||
a->is_master() || b->is_master() ||
|
||||
if (!(a->presentation_info().special() || b->presentation_info().special() ||
|
||||
a->is_foldbackbus() || b->is_foldbackbus())) {
|
||||
return a->presentation_info().order() < b->presentation_info().order();
|
||||
}
|
||||
|
|
@ -270,6 +269,8 @@ struct mcpStripableSorter
|
|||
if (b->is_master ()) { cmp_b = 2; }
|
||||
if (a->is_monitor ()) { cmp_a = 3; }
|
||||
if (b->is_monitor ()) { cmp_b = 3; }
|
||||
if (a->is_surround_master ()) { cmp_a = 4; }
|
||||
if (b->is_surround_master ()) { cmp_b = 4; }
|
||||
|
||||
if (cmp_a == cmp_b) {
|
||||
return a->presentation_info().order() < b->presentation_info().order();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue