diff options
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r-- | libs/ardour/ardour/delivery.h | 5 | ||||
-rw-r--r-- | libs/ardour/ardour/send.h | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/libs/ardour/ardour/delivery.h b/libs/ardour/ardour/delivery.h index e19eef719f..1b8ff3f87a 100644 --- a/libs/ardour/ardour/delivery.h +++ b/libs/ardour/ardour/delivery.h @@ -34,6 +34,7 @@ class MuteMaster; class PannerShell; class Panner; class Pannable; +class Amp; class LIBARDOUR_API Delivery : public IOProcessor { @@ -67,6 +68,8 @@ public: bool set_name (const std::string& name); std::string display_name() const; + boost::shared_ptr<Amp> amp() const { return _amp; } + Role role() const { return _role; } bool can_support_io_configuration (const ChanCount& in, ChanCount& out); bool configure_io (ChanCount in, ChanCount out); @@ -106,8 +109,8 @@ public: protected: Role _role; BufferSet* _output_buffers; - gain_t _current_gain; boost::shared_ptr<PannerShell> _panshell; + boost::shared_ptr<Amp> _amp; gain_t target_gain (); diff --git a/libs/ardour/ardour/send.h b/libs/ardour/ardour/send.h index 17343bff96..df9afad55c 100644 --- a/libs/ardour/ardour/send.h +++ b/libs/ardour/ardour/send.h @@ -43,7 +43,6 @@ class LIBARDOUR_API Send : public Delivery bool display_to_user() const; - boost::shared_ptr<Amp> amp() const { return _amp; } boost::shared_ptr<PeakMeter> meter() const { return _meter; } bool metering() const { return _metering; } @@ -78,7 +77,6 @@ class LIBARDOUR_API Send : public Delivery protected: bool _metering; - boost::shared_ptr<Amp> _amp; boost::shared_ptr<PeakMeter> _meter; boost::shared_ptr<DelayLine> _delayline; |