13
0

Fix conversion in 41b997a90 (monitor cut, invert)

This commit is contained in:
Robin Gareus 2017-04-25 17:22:39 +02:00
parent b8a7b444e2
commit 54e374f272

View File

@ -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);