From e10f59f96c429a88419a7caddfeaff75a8b19df4 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 12 Mar 2010 00:19:46 +0000 Subject: map most (all?) monitor processor state into/onto monitor section GUI git-svn-id: svn://localhost/ardour2/branches/3.0@6749 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/monitor_processor.cc | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'libs') diff --git a/libs/ardour/monitor_processor.cc b/libs/ardour/monitor_processor.cc index a8ecbbc0e6..f7dbd7bfdb 100644 --- a/libs/ardour/monitor_processor.cc +++ b/libs/ardour/monitor_processor.cc @@ -201,7 +201,7 @@ MonitorProcessor::state (bool full) chn_node->add_property ("id", buf); chn_node->add_property (X_("cut"), x->cut == 1.0 ? "no" : "yes"); - chn_node->add_property (X_("invert"), x->polarity == 1.0 ? "yes" : "no"); + chn_node->add_property (X_("invert"), x->polarity == 1.0 ? "no" : "yes"); chn_node->add_property (X_("dim"), x->dim ? "yes" : "no"); chn_node->add_property (X_("solo"), x->soloed ? "yes" : "no"); @@ -409,3 +409,15 @@ MonitorProcessor::mono () const { return _mono; } + +bool +MonitorProcessor::dim_all () const +{ + return _dim_all; +} + +bool +MonitorProcessor::cut_all () const +{ + return _cut_all; +} -- cgit v1.2.3