diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-01-25 11:47:21 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-01-25 11:47:21 -0500 |
commit | 22a20c7333a14ac0c4af20287d8643e07ff92903 (patch) | |
tree | 946191642602a879af20b137b0bc00e8af693022 /libs/ardour/ardour/return.h | |
parent | 452e39f8a30a2cd435049922a13150b55f51ac0d (diff) |
change exposed type of various objects' gain controls; remove Amp::gain() as a shortcut
Diffstat (limited to 'libs/ardour/ardour/return.h')
-rw-r--r-- | libs/ardour/ardour/return.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/ardour/ardour/return.h b/libs/ardour/ardour/return.h index e2e326d7d0..1d60a43d38 100644 --- a/libs/ardour/ardour/return.h +++ b/libs/ardour/ardour/return.h @@ -32,7 +32,7 @@ namespace ARDOUR { class Amp; class PeakMeter; - +class GainControl; class LIBARDOUR_API Return : public IOProcessor { @@ -46,6 +46,7 @@ public: 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; } @@ -64,7 +65,7 @@ public: 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; |