fix implicit mute display
authorRobin Gareus <robin@gareus.org>
Tue, 6 Oct 2015 10:19:58 +0000 (12:19 +0200)
committerRobin Gareus <robin@gareus.org>
Tue, 6 Oct 2015 10:21:40 +0000 (12:21 +0200)
libs/ardour/route.cc

index d9ead37c9aa7fa788cef4f6eb5b27e30c6cbacf0..a5c1af0e870a45cd191ece2e05a25ce56b79dce9 100644 (file)
@@ -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