add an Amp to Delivery, remove it from Send, make use of this in various ::run()...
[ardour.git] / libs / ardour / ardour / delivery.h
index e19eef719fca280f7e2b0d5d75306ce244eee7b8..1b8ff3f87a7af535356cf2e6e424d0838317b6ce 100644 (file)
@@ -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 ();