diff options
author | Carl Hetherington <carl@carlh.net> | 2011-01-06 21:57:15 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-01-06 21:57:15 +0000 |
commit | 5bff882ce1f324dc54e7ec71a33923439f50f865 (patch) | |
tree | 51067d7547c3fbe98cd7792b160e217d8158a288 /gtk2_ardour/processor_box.cc | |
parent | 73f898146dd6484e6a8db2bcd5cd69ca1bd19235 (diff) |
Set up send fader default position correctly. Fixes #3680.
git-svn-id: svn://localhost/ardour2/branches/3.0@8471 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/processor_box.cc')
-rw-r--r-- | gtk2_ardour/processor_box.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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<Send> 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) { |