summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-08-03 12:16:42 +0000
committerCarl Hetherington <carl@carlh.net>2011-08-03 12:16:42 +0000
commit90e3eced2e519b6b472e2056a17a174ecef863ba (patch)
treed86eb9b68724f39a2c2eee5a7cb7fc250586e509 /libs
parentc18009e11f6070d5156071a4d08efb696b2604e8 (diff)
Polarity control value needs to be able to go negative as it
is a gain. Fixes #4212. git-svn-id: svn://localhost/ardour2/branches/3.0@9950 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/monitor_processor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/monitor_processor.cc b/libs/ardour/monitor_processor.cc
index d12db38c27..60c3c3f732 100644
--- a/libs/ardour/monitor_processor.cc
+++ b/libs/ardour/monitor_processor.cc
@@ -492,7 +492,7 @@ MonitorProcessor::ChannelRecord::ChannelRecord (uint32_t chn)
: current_gain (1.0)
, cut_ptr (new MPControl<gain_t> (1.0, string_compose (_("cut control %1"), chn), PBD::Controllable::GainLike))
, dim_ptr (new MPControl<bool> (false, string_compose (_("dim control"), chn), PBD::Controllable::Toggle))
- , polarity_ptr (new MPControl<gain_t> (1.0, string_compose (_("polarity control"), chn), PBD::Controllable::Toggle))
+ , polarity_ptr (new MPControl<gain_t> (1.0, string_compose (_("polarity control"), chn), PBD::Controllable::Toggle, -1, 1))
, soloed_ptr (new MPControl<bool> (false, string_compose (_("solo control"), chn), PBD::Controllable::Toggle))
, cut_control (cut_ptr)