summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-10-06 12:19:58 +0200
committerRobin Gareus <robin@gareus.org>2015-10-06 12:21:40 +0200
commit139cb23ab98abc2d166b74ea025719d1730dc203 (patch)
tree5eae3b117c1fa9ffcc8ab62ac9eb419c551b6e32
parentfb2e8387ddfcaaeb19b238b0b3aef2b75c4a5d78 (diff)
fix implicit mute display
-rw-r--r--libs/ardour/route.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc
index d9ead37c9a..a5c1af0e87 100644
--- a/libs/ardour/route.cc
+++ b/libs/ardour/route.cc
@@ -1067,12 +1067,16 @@ Route::muted () const
bool
Route::muted_by_others () const
{
+ // This method is only used by route_ui for display state.
+ // The real thing is MuteMaster::muted_by_others_at()
+
//master is never muted by others
if (is_master())
return false;
//now check to see if something is soloed (and I am not)
- return (_session.soloing() && !self_soloed() && !solo_isolated());
+ //see also MuteMaster::mute_gain_at()
+ return (_session.soloing() && !soloed() && !solo_isolated());
}
#if 0