summaryrefslogtreecommitdiff
path: root/libs/ardour/monitor_processor.cc
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2015-08-15 18:25:57 +1000
committerTim Mayberry <mojofunk@gmail.com>2017-04-16 14:02:20 +1000
commit50ccd15d72b0f2d0b1a00b87dfc7d654a28fbd31 (patch)
tree50225effb5e75b219a50257e0c9655bc7c14bd19 /libs/ardour/monitor_processor.cc
parent31b4fae88be6e7f8f3bc57af7056082ceba56a59 (diff)
Fix indentation in MonitorProcessor::state
Diffstat (limited to 'libs/ardour/monitor_processor.cc')
-rw-r--r--libs/ardour/monitor_processor.cc50
1 files changed, 25 insertions, 25 deletions
diff --git a/libs/ardour/monitor_processor.cc b/libs/ardour/monitor_processor.cc
index 811d5a15b3..6dda3cc7e0 100644
--- a/libs/ardour/monitor_processor.cc
+++ b/libs/ardour/monitor_processor.cc
@@ -227,46 +227,46 @@ XMLNode&
MonitorProcessor::state (bool full)
{
LocaleGuard lg;
- XMLNode& node (Processor::state (full));
- char buf[64];
+ XMLNode& node(Processor::state(full));
+ char buf[64];
/* this replaces any existing "type" property */
node.add_property (X_("type"), X_("monitor"));
- snprintf (buf, sizeof(buf), "%.12g", _dim_level.val());
- node.add_property (X_("dim-level"), buf);
+ snprintf (buf, sizeof(buf), "%.12g", _dim_level.val());
+ node.add_property (X_("dim-level"), buf);
- snprintf (buf, sizeof(buf), "%.12g", _solo_boost_level.val());
- node.add_property (X_("solo-boost-level"), buf);
+ snprintf (buf, sizeof(buf), "%.12g", _solo_boost_level.val());
+ node.add_property (X_("solo-boost-level"), buf);
- node.add_property (X_("cut-all"), (_cut_all ? "yes" : "no"));
- node.add_property (X_("dim-all"), (_dim_all ? "yes" : "no"));
- node.add_property (X_("mono"), (_mono ? "yes" : "no"));
+ node.add_property (X_("cut-all"), (_cut_all ? "yes" : "no"));
+ node.add_property (X_("dim-all"), (_dim_all ? "yes" : "no"));
+ node.add_property (X_("mono"), (_mono ? "yes" : "no"));
- uint32_t limit = _channels.size();
+ uint32_t limit = _channels.size();
- snprintf (buf, sizeof (buf), "%u", limit);
- node.add_property (X_("channels"), buf);
+ snprintf (buf, sizeof (buf), "%u", limit);
+ node.add_property (X_("channels"), buf);
- XMLNode* chn_node;
- uint32_t chn = 0;
+ XMLNode* chn_node;
+ uint32_t chn = 0;
- for (vector<ChannelRecord*>::const_iterator x = _channels.begin(); x != _channels.end(); ++x, ++chn) {
- chn_node = new XMLNode (X_("Channel"));
+ for (vector<ChannelRecord*>::const_iterator x = _channels.begin(); x != _channels.end(); ++x, ++chn) {
+ chn_node = new XMLNode (X_("Channel"));
- snprintf (buf, sizeof (buf), "%u", chn);
- chn_node->add_property ("id", buf);
+ snprintf (buf, sizeof (buf), "%u", chn);
+ chn_node->add_property ("id", buf);
- chn_node->add_property (X_("cut"), (*x)->cut == GAIN_COEFF_UNITY ? "no" : "yes");
- chn_node->add_property (X_("invert"), (*x)->polarity == GAIN_COEFF_UNITY ? "no" : "yes");
- chn_node->add_property (X_("dim"), (*x)->dim ? "yes" : "no");
- chn_node->add_property (X_("solo"), (*x)->soloed ? "yes" : "no");
+ chn_node->add_property (X_("cut"), (*x)->cut == GAIN_COEFF_UNITY ? "no" : "yes");
+ chn_node->add_property (X_("invert"), (*x)->polarity == GAIN_COEFF_UNITY ? "no" : "yes");
+ chn_node->add_property (X_("dim"), (*x)->dim ? "yes" : "no");
+ chn_node->add_property (X_("solo"), (*x)->soloed ? "yes" : "no");
- node.add_child_nocopy (*chn_node);
- }
+ node.add_child_nocopy (*chn_node);
+ }
- return node;
+ return node;
}
void