Fix long-standing spelling bug.
[ardour.git] / libs / ardour / ardour / internal_return.h
index 1dff465cba09ed62d1455718d75dca607036fa2e..48fcab151e32e26d24479bb86e08a7cd74015eae 100644 (file)
@@ -29,7 +29,7 @@ namespace ARDOUR {
 
 class InternalSend;
 
-class InternalReturn : public Return
+class LIBARDOUR_API InternalReturn : public Return
 {
   public:
        InternalReturn (Session&);
@@ -37,9 +37,9 @@ class InternalReturn : public Return
        XMLNode& state (bool full);
        XMLNode& get_state ();
 
-       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);
        bool configure_io (ChanCount, ChanCount);
-       bool can_support_io_configuration (const ChanCount& in, ChanCount& out) const;
+       bool can_support_io_configuration (const ChanCount& in, ChanCount& out);
 
        void add_send (InternalSend *);
        void remove_send (InternalSend *);
@@ -47,6 +47,8 @@ class InternalReturn : public Return
   private:
        /** sends that we are receiving data from */
        std::list<InternalSend*> _sends;
+       /** mutex to protect _sends */
+       Glib::Threads::Mutex _sends_mutex;
 };
 
 } // namespace ARDOUR