summaryrefslogtreecommitdiff
path: root/libs/ardour/send.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-12-14 15:00:34 +0100
committerRobin Gareus <robin@gareus.org>2019-12-14 15:50:56 +0100
commit93180ceea90e597828ea7473b8e181950df66427 (patch)
tree4483b690c88eeed7051dea06792b278b9943d059 /libs/ardour/send.cc
parentd4ad9e348698de3fe2e7b34fef60a6e6d788ea6d (diff)
Add Inline Control Port Property
This allows to indicate that a control should by default be displayed inline in the mixer-strip. Previously that was hard-coded for and enabled for send-level controls only.
Diffstat (limited to 'libs/ardour/send.cc')
-rw-r--r--libs/ardour/send.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/send.cc b/libs/ardour/send.cc
index 78246eca82..d913693909 100644
--- a/libs/ardour/send.cc
+++ b/libs/ardour/send.cc
@@ -102,6 +102,7 @@ Send::Send (Session& s, boost::shared_ptr<Pannable> p, boost::shared_ptr<MuteMas
boost::shared_ptr<AutomationList> gl (new AutomationList (Evoral::Parameter (GainAutomation)));
_gain_control = boost::shared_ptr<GainControl> (new GainControl (_session, Evoral::Parameter(BusSendLevel), gl));
+ _gain_control->set_flags (Controllable::Flag ((int)_gain_control->flags() | Controllable::InlineControl));
add_control (_gain_control);
_amp.reset (new Amp (_session, _("Fader"), _gain_control, true));