X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fmute_master.cc;fp=libs%2Fardour%2Fmute_master.cc;h=89691fc058da14e34d6eb98704634c4503b08bec;hb=8ee660356181f4eb66e4abcb30d52f55ae267b80;hp=c13131c11b324f5d6bf1a220b600697102ccbca4;hpb=01aefd236a7c87fa1798334b579be28eaa832afd;p=ardour.git diff --git a/libs/ardour/mute_master.cc b/libs/ardour/mute_master.cc index c13131c11b..89691fc058 100644 --- a/libs/ardour/mute_master.cc +++ b/libs/ardour/mute_master.cc @@ -170,8 +170,8 @@ MuteMaster::muted_by_others_at (MutePoint mp) const } void -MuteMaster::mod_muted_by_others (int32_t delta) +MuteMaster::set_muted_by_others (bool yn) { - _muted_by_others = max (0, _muted_by_others + delta); - std::cerr << this << " mod others by " << delta << " to get " << _muted_by_others << endl; + _muted_by_others = yn; + std::cerr << this << " set muted by others to " << yn << std::endl; }