Connection* _output_connection;
bool no_panner_reset;
XMLNode* deferred_state;
- DataType _default_type;
+ DataType _default_type;
+ bool _ignore_gain_on_deliver;
+
virtual void set_deferred_state() {}
deferred_state = 0;
apply_gain_automation = false;
-
+ _ignore_gain_on_deliver = false;
+
_gain_automation_state = Off;
_gain_automation_style = Absolute;
gain_t dg;
gain_t old_gain = _gain;
- if (apply_gain_automation) {
+ if (apply_gain_automation || _ignore_gain_on_deliver) {
/* gain has already been applied by automation code. do nothing here except
speed quietning.
_gain = dg;
}
- if (apply_gain_automation) {
+ if (apply_gain_automation || _ignore_gain_on_deliver) {
_gain = old_gain;
}
}