projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Initial Gain Coefficient tweaks
[ardour.git]
/
libs
/
ardour
/
mute_master.cc
diff --git
a/libs/ardour/mute_master.cc
b/libs/ardour/mute_master.cc
index 5734af8a3d812d6ce9af20e50721e232c88017b1..4c23855915a519e8bb4a28dbe50786762054db1c 100644
(file)
--- a/
libs/ardour/mute_master.cc
+++ b/
libs/ardour/mute_master.cc
@@
-90,26
+90,26
@@
MuteMaster::mute_gain_at (MutePoint mp) const
if (Config->get_solo_mute_override()) {
if (_soloed) {
if (Config->get_solo_mute_override()) {
if (_soloed) {
- gain =
1.0
;
+ gain =
GAIN_COEFF_UNITY
;
} else if (muted_by_self_at (mp)) {
} else if (muted_by_self_at (mp)) {
- gain =
0.0
;
+ gain =
GAIN_COEFF_ZERO
;
} else {
if (muted_by_others_at (mp)) {
gain = Config->get_solo_mute_gain ();
} else {
} else {
if (muted_by_others_at (mp)) {
gain = Config->get_solo_mute_gain ();
} else {
- gain =
1.0
;
+ gain =
GAIN_COEFF_UNITY
;
}
}
} else {
if (muted_by_self_at (mp)) {
}
}
} else {
if (muted_by_self_at (mp)) {
- gain =
0.0
;
+ gain =
GAIN_COEFF_ZERO
;
} else if (_soloed) {
} else if (_soloed) {
- gain =
1.0
;
+ gain =
GAIN_COEFF_UNITY
;
} else {
if (muted_by_others_at (mp)) {
gain = Config->get_solo_mute_gain ();
} else {
} else {
if (muted_by_others_at (mp)) {
gain = Config->get_solo_mute_gain ();
} else {
- gain =
1.0
;
+ gain =
GAIN_COEFF_UNITY
;
}
}
}
}
}
}