X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fardour%2Finternal_return.h;h=d12b330e37d9a6bc5c3bd2037ba968f8bc03138d;hb=36ec551a8ad66a99723f54d3149cbcf30d31c077;hp=1dff465cba09ed62d1455718d75dca607036fa2e;hpb=bbf028880f0fbcfea332f62ca2248da2335e37e5;p=ardour.git diff --git a/libs/ardour/ardour/internal_return.h b/libs/ardour/ardour/internal_return.h index 1dff465cba..d12b330e37 100644 --- a/libs/ardour/ardour/internal_return.h +++ b/libs/ardour/ardour/internal_return.h @@ -29,7 +29,7 @@ namespace ARDOUR { class InternalSend; -class InternalReturn : public Return +class LIBARDOUR_API InternalReturn : public Return { public: InternalReturn (Session&); @@ -39,7 +39,7 @@ class InternalReturn : public Return void run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame, 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 _sends; + /** mutex to protect _sends */ + Glib::Threads::Mutex _sends_mutex; }; } // namespace ARDOUR