summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/send.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-01-25 11:47:21 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2016-01-25 11:47:21 -0500
commit22a20c7333a14ac0c4af20287d8643e07ff92903 (patch)
tree946191642602a879af20b137b0bc00e8af693022 /libs/ardour/ardour/send.h
parent452e39f8a30a2cd435049922a13150b55f51ac0d (diff)
change exposed type of various objects' gain controls; remove Amp::gain() as a shortcut
Diffstat (limited to 'libs/ardour/ardour/send.h')
-rw-r--r--libs/ardour/ardour/send.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/ardour/ardour/send.h b/libs/ardour/ardour/send.h
index 5db0b94b87..3b0e8a4309 100644
--- a/libs/ardour/ardour/send.h
+++ b/libs/ardour/ardour/send.h
@@ -32,6 +32,7 @@ namespace ARDOUR {
class PeakMeter;
class Amp;
+class GainControl;
class LIBARDOUR_API Send : public Delivery
{
@@ -45,6 +46,7 @@ class LIBARDOUR_API Send : public Delivery
boost::shared_ptr<Amp> amp() const { return _amp; }
boost::shared_ptr<PeakMeter> meter() const { return _meter; }
+ boost::shared_ptr<GainControl> gain_control() const { return _gain_control; }
bool metering() const { return _metering; }
void set_metering (bool yn) { _metering = yn; }
@@ -78,7 +80,7 @@ class LIBARDOUR_API Send : public Delivery
protected:
bool _metering;
- boost::shared_ptr<AutomationControl> _gain_control;
+ boost::shared_ptr<GainControl> _gain_control;
boost::shared_ptr<Amp> _amp;
boost::shared_ptr<PeakMeter> _meter;
boost::shared_ptr<DelayLine> _delayline;