set latency of sidechain port
[ardour.git] / libs / ardour / ardour / return.h
index 6dcd6ac2fccde200b839a1dddece8f30d603b700..1d60a43d38e750fd50c4eaff38de8ddb4f7848c3 100644 (file)
@@ -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);
@@ -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,6 +65,7 @@ public:
 
   protected:
        bool _metering;
+       boost::shared_ptr<GainControl> _gain_control;
        boost::shared_ptr<Amp> _amp;
        boost::shared_ptr<PeakMeter> _meter;