diff options
author | Carl Hetherington <carl@carlh.net> | 2012-01-21 16:38:45 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-01-21 16:38:45 +0000 |
commit | a8bb49e5d89f2689d6aeb61381e3c4bd3560d859 (patch) | |
tree | 92ee741951ce07175db1be21c412269e7fdde042 /libs/ardour/send.cc | |
parent | 0c30881ad4025564d4438ff96c5b322cdfbe7757 (diff) |
Add a send amp's gain control as a send controllable.
Tweak AutomationControl now that PBD::Controllable has
a default implementation of user_to_ui and ui_to_user.
Add correct implementations of these methods to
Amp::GainControl. Hence allow SendProcessorEntry to
use the generic mini-fader-adding code from
ProcessorEntry.
git-svn-id: svn://localhost/ardour2/branches/3.0@11292 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/send.cc')
-rw-r--r-- | libs/ardour/send.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/send.cc b/libs/ardour/send.cc index bacb381fe5..332f53556c 100644 --- a/libs/ardour/send.cc +++ b/libs/ardour/send.cc @@ -81,6 +81,8 @@ Send::Send (Session& s, boost::shared_ptr<Pannable> p, boost::shared_ptr<MuteMas _amp.reset (new Amp (_session)); _meter.reset (new PeakMeter (_session)); + + add_control (_amp->gain_control ()); } Send::~Send () |