From 90e3eced2e519b6b472e2056a17a174ecef863ba Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 3 Aug 2011 12:16:42 +0000 Subject: 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 --- libs/ardour/monitor_processor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/monitor_processor.cc') 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 (1.0, string_compose (_("cut control %1"), chn), PBD::Controllable::GainLike)) , dim_ptr (new MPControl (false, string_compose (_("dim control"), chn), PBD::Controllable::Toggle)) - , polarity_ptr (new MPControl (1.0, string_compose (_("polarity control"), chn), PBD::Controllable::Toggle)) + , polarity_ptr (new MPControl (1.0, string_compose (_("polarity control"), chn), PBD::Controllable::Toggle, -1, 1)) , soloed_ptr (new MPControl (false, string_compose (_("solo control"), chn), PBD::Controllable::Toggle)) , cut_control (cut_ptr) -- cgit v1.2.3