X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fardour%2Freturn.h;h=d42a280ffb03914964d97f67c1e10ab059e8d5c3;hb=eaa1dacf5fc9537cfff36e2339bd07aab348aa2e;hp=6dcd6ac2fccde200b839a1dddece8f30d603b700;hpb=616f2a0370a10dcc7372a95f6bca9f5a45698980;p=ardour.git diff --git a/libs/ardour/ardour/return.h b/libs/ardour/ardour/return.h index 6dcd6ac2fc..d42a280ffb 100644 --- a/libs/ardour/ardour/return.h +++ b/libs/ardour/ardour/return.h @@ -32,9 +32,9 @@ namespace ARDOUR { class Amp; class PeakMeter; +class GainControl; - -class Return : public IOProcessor +class LIBARDOUR_API Return : public IOProcessor { public: Return (Session&, bool internal = false); @@ -42,10 +42,11 @@ public: uint32_t bit_slot() const { return _bitslot; } - void run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame, pframes_t nframes, bool); + void run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame, double speed, pframes_t nframes, bool); boost::shared_ptr amp() const { return _amp; } boost::shared_ptr meter() const { return _meter; } + boost::shared_ptr gain_control() const { return _gain_control; } bool metering() const { return _metering; } void set_metering (bool yn) { _metering = yn; } @@ -64,6 +65,7 @@ public: protected: bool _metering; + boost::shared_ptr _gain_control; boost::shared_ptr _amp; boost::shared_ptr _meter;