projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b8a7b44
)
Fix conversion in 41b997a90 (monitor cut, invert)
author
Robin Gareus
<robin@gareus.org>
Tue, 25 Apr 2017 15:22:39 +0000
(17:22 +0200)
committer
Robin Gareus
<robin@gareus.org>
Tue, 25 Apr 2017 15:22:54 +0000
(17:22 +0200)
libs/ardour/monitor_processor.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/monitor_processor.cc
b/libs/ardour/monitor_processor.cc
index 3047b7ec257a8b4aad382b98bca0da1d5adaefc0..8160b7d1c7eed5e5134d4731288d66bb4adfc05a 100644
(file)
--- 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 ("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);
chn_node->set_property (X_("dim"), (*x)->dim == true);
chn_node->set_property (X_("solo"), (*x)->soloed == true);