attempt fix for LTC slave when locating
[ardour.git] / libs / ardour / monitor_processor.cc
index 3047b7ec257a8b4aad382b98bca0da1d5adaefc0..1c6f7378c1c355548564a1e95e9f046cf2d9a5f2 100644 (file)
@@ -18,7 +18,6 @@
 */
 
 #include "pbd/error.h"
-#include "pbd/locale_guard.h"
 #include "pbd/xml++.h"
 
 #include "ardour/amp.h"
@@ -221,7 +220,6 @@ MonitorProcessor::set_state (const XMLNode& node, int version)
 XMLNode&
 MonitorProcessor::state (bool full)
 {
-       LocaleGuard lg;
        XMLNode& node(Processor::state(full));
 
        /* this replaces any existing "type" property */
@@ -247,8 +245,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);