summaryrefslogtreecommitdiff
path: root/libs/ardour/send.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-12-14 15:04:08 +0100
committerRobin Gareus <robin@gareus.org>2019-12-14 15:06:23 +0100
commitd4e023e1cbd783c2a46f8b4b231798c05f6b6708 (patch)
tree94c28a4bd8e44f2de803fefdd3f569c583961f7e /libs/ardour/send.cc
parentd2facbf9c1116c192335ade77a4c07962e5473b9 (diff)
Make BusSendLevel 1st class citizen (1/2)
Equivalent to Gain and Trim (gain-coefficient, not dB) and use it for Sends.
Diffstat (limited to 'libs/ardour/send.cc')
-rw-r--r--libs/ardour/send.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/send.cc b/libs/ardour/send.cc
index 950ee0b74d..78246eca82 100644
--- a/libs/ardour/send.cc
+++ b/libs/ardour/send.cc
@@ -101,7 +101,7 @@ Send::Send (Session& s, boost::shared_ptr<Pannable> p, boost::shared_ptr<MuteMas
//boost_debug_shared_ptr_mark_interesting (this, "send");
boost::shared_ptr<AutomationList> gl (new AutomationList (Evoral::Parameter (GainAutomation)));
- _gain_control = boost::shared_ptr<GainControl> (new GainControl (_session, Evoral::Parameter(GainAutomation), gl));
+ _gain_control = boost::shared_ptr<GainControl> (new GainControl (_session, Evoral::Parameter(BusSendLevel), gl));
add_control (_gain_control);
_amp.reset (new Amp (_session, _("Fader"), _gain_control, true));