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
This commit is contained in:
parent
c18009e11f
commit
90e3eced2e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user