Prepare export-format codec-quality setting
[ardour.git] / libs / ardour / ardour / internal_send.h
index 71d8049cae2e8830e3ce92af7c3d34feb1f6e487..8547f73b08ce4c404205ee56f79db15ca85b206d 100644 (file)
@@ -27,7 +27,7 @@ namespace ARDOUR {
 
 class LIBARDOUR_API InternalSend : public Send
 {
-  public:
+public:
        InternalSend (Session&, boost::shared_ptr<Pannable>, boost::shared_ptr<MuteMaster>, boost::shared_ptr<Route> send_from, boost::shared_ptr<Route> send_to, Delivery::Role role = Delivery::Aux, bool ignore_bitslot = false);
        virtual ~InternalSend ();
 
@@ -35,12 +35,10 @@ class LIBARDOUR_API InternalSend : public Send
        bool set_name (const std::string&);
        bool visible() const;
 
-       XMLNode& state(bool full);
-       XMLNode& get_state(void);
        int set_state(const XMLNode& node, int version);
 
        void cycle_start (pframes_t);
-       void run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame, pframes_t nframes, bool);
+       void run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_sample, double speed, pframes_t nframes, bool);
        bool feeds (boost::shared_ptr<Route> other) const;
        bool can_support_io_configuration (const ChanCount& in, ChanCount& out);
        bool configure_io (ChanCount in, ChanCount out);
@@ -54,15 +52,22 @@ class LIBARDOUR_API InternalSend : public Send
                return mixbufs;
        }
 
+       bool allow_feedback () const { return _allow_feedback;}
+       void set_allow_feedback (bool yn);
+
        void set_can_pan (bool yn);
        uint32_t pan_outs () const;
 
        static PBD::Signal1<void, pframes_t> CycleStart;
 
-  private:
+protected:
+       XMLNode& state();
+
+private:
        BufferSet mixbufs;
        boost::shared_ptr<Route> _send_from;
        boost::shared_ptr<Route> _send_to;
+       bool _allow_feedback;
        PBD::ID _send_to_id;
        PBD::ScopedConnection connect_c;
        PBD::ScopedConnection source_connection;