*/
#include "pbd/error.h"
-#include "pbd/locale_guard.h"
#include "pbd/xml++.h"
#include "ardour/amp.h"
XMLNode&
MonitorProcessor::state (bool full)
{
- LocaleGuard lg;
XMLNode& node(Processor::state(full));
/* this replaces any existing "type" property */
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);