make sure that rec-enable changes get to do their non-RT stuff before being queued...
[ardour.git] / libs / ardour / ardour / delivery.h
index 1b8ff3f87a7af535356cf2e6e424d0838317b6ce..80b8431737bdfd2046e2cf94f6d6b63ad5d418a0 100644 (file)
@@ -34,7 +34,6 @@ class MuteMaster;
 class PannerShell;
 class Panner;
 class Pannable;
-class Amp;
 
 class LIBARDOUR_API Delivery : public IOProcessor
 {
@@ -68,13 +67,11 @@ 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);
 
-       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);
 
        /* supplemental method used with MIDI */
 
@@ -109,15 +106,15 @@ 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 ();
 
   private:
        bool        _no_outs_cuz_we_no_monitor;
        boost::shared_ptr<MuteMaster> _mute_master;
-       
+
        static bool panners_legal;
        static PBD::Signal0<void> PannersLegal;