diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-04-19 13:02:40 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-05-31 15:30:41 -0400 |
commit | 8ee660356181f4eb66e4abcb30d52f55ae267b80 (patch) | |
tree | 45f6906a6b44349c7c217d1e624b4f9495494f12 /libs/ardour/mute_master.cc | |
parent | 01aefd236a7c87fa1798334b579be28eaa832afd (diff) |
design changes to various SlavableAutomationControls to make it possible to get the logic right for boolean controls
Diffstat (limited to 'libs/ardour/mute_master.cc')
-rw-r--r-- | libs/ardour/mute_master.cc | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |