summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/route_group.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-06-12 22:37:09 +0200
committerRobin Gareus <robin@gareus.org>2017-06-13 01:08:30 +0200
commit293ab1ef53ae66c862b3ff6708071c37d6fa12eb (patch)
tree8074c445b67a7b43300f7498b7d0dae6f4f27382 /libs/ardour/ardour/route_group.h
parent9441e8d484964e0f8942c82b0112c8ad92aa9e3e (diff)
Allow group gain sharing + VCA again
Diffstat (limited to 'libs/ardour/ardour/route_group.h')
-rw-r--r--libs/ardour/ardour/route_group.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/ardour/ardour/route_group.h b/libs/ardour/ardour/route_group.h
index 34f70857a2..b05d0573ce 100644
--- a/libs/ardour/ardour/route_group.h
+++ b/libs/ardour/ardour/route_group.h
@@ -76,7 +76,7 @@ public:
bool is_active () const { return _active.val(); }
bool is_relative () const { return _relative.val(); }
bool is_hidden () const { return _hidden.val(); }
- bool is_gain () const { return _gain.val() && _group_master_number.val() <= 0; }
+ bool is_gain () const { return _gain.val(); }
bool is_mute () const { return _mute.val(); }
bool is_solo () const { return _solo.val(); }
bool is_recenable () const { return _recenable.val(); }
@@ -190,6 +190,7 @@ private:
void push_to_groups ();
uint32_t _rgba;
+ bool _used_to_share_gain;
};
} /* namespace */