From 5bff882ce1f324dc54e7ec71a33923439f50f865 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 6 Jan 2011 21:57:15 +0000 Subject: [PATCH] Set up send fader default position correctly. Fixes #3680. git-svn-id: svn://localhost/ardour2/branches/3.0@8471 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/processor_box.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/processor_box.cc b/gtk2_ardour/processor_box.cc index 482ef68d25..a20add97a5 100644 --- a/gtk2_ardour/processor_box.cc +++ b/gtk2_ardour/processor_box.cc @@ -226,7 +226,8 @@ ProcessorEntry::name () const SendProcessorEntry::SendProcessorEntry (boost::shared_ptr s, Width w) : ProcessorEntry (s, w), _send (s), - _adjustment (0, 0, 1, 0.01, 0.1), + /* set the adjustment to a gain of 0dB so that the fader's default value is right */ + _adjustment (0.781787, 0, 1, 0.01, 0.1), _fader (_slider, &_adjustment, 0, false), _ignore_gain_change (false) {