summaryrefslogtreecommitdiff
path: root/libs/ardour/monitor_processor.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-04-25 17:22:39 +0200
committerRobin Gareus <robin@gareus.org>2017-04-25 17:22:54 +0200
commit54e374f27253c4a714fd4a640f9def1f2aa21d79 (patch)
tree0b8864a13bee57cf6e670b01d73813471396bbfe /libs/ardour/monitor_processor.cc
parentb8a7b444e2bef48a57cd6ffa70aa6c76ef340574 (diff)
Fix conversion in 41b997a90 (monitor cut, invert)
Diffstat (limited to 'libs/ardour/monitor_processor.cc')
-rw-r--r--libs/ardour/monitor_processor.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/monitor_processor.cc b/libs/ardour/monitor_processor.cc
index 3047b7ec25..8160b7d1c7 100644
--- a/libs/ardour/monitor_processor.cc
+++ b/libs/ardour/monitor_processor.cc
@@ -247,8 +247,8 @@ MonitorProcessor::state (bool full)
chn_node->set_property ("id", chn);
// implicitly cast these to bool
- chn_node->set_property (X_("cut"), (*x)->cut == GAIN_COEFF_UNITY);
- chn_node->set_property (X_("invert"), (*x)->polarity == GAIN_COEFF_UNITY);
+ chn_node->set_property (X_("cut"), (*x)->cut != GAIN_COEFF_UNITY);
+ chn_node->set_property (X_("invert"), (*x)->polarity != GAIN_COEFF_UNITY);
chn_node->set_property (X_("dim"), (*x)->dim == true);
chn_node->set_property (X_("solo"), (*x)->soloed == true);