projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
design changes to various SlavableAutomationControls to make it possible to get the...
[ardour.git]
/
libs
/
ardour
/
mute_master.cc
diff --git
a/libs/ardour/mute_master.cc
b/libs/ardour/mute_master.cc
index c13131c11b324f5d6bf1a220b600697102ccbca4..89691fc058da14e34d6eb98704634c4503b08bec 100644
(file)
--- 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
}
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;
}
}