X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Finternal_return.cc;h=e42c067454823d7bc1341df08123f3c48e131424;hb=81ba187b1a7d129d26011b7c99eea9962ad877ee;hp=1eae5d31719e4fde4a97f8a19e1594729e4264f1;hpb=ad017365f7a73f8ba57f667cc1aa36478b48c50e;p=ardour.git diff --git a/libs/ardour/internal_return.cc b/libs/ardour/internal_return.cc index 1eae5d3171..e42c067454 100644 --- a/libs/ardour/internal_return.cc +++ b/libs/ardour/internal_return.cc @@ -32,14 +32,14 @@ InternalReturn::InternalReturn (Session& s) } void -InternalReturn::run (BufferSet& bufs, framepos_t /*start_frame*/, framepos_t /*end_frame*/, pframes_t nframes, bool) +InternalReturn::run (BufferSet& bufs, framepos_t /*start_frame*/, framepos_t /*end_frame*/, double /*speed*/, pframes_t nframes, bool) { if (!_active && !_pending_active) { return; } Glib::Threads::Mutex::Lock lm (_sends_mutex, Glib::Threads::TRY_LOCK); - + if (lm.locked ()) { for (list::iterator i = _sends.begin(); i != _sends.end(); ++i) { if ((*i)->active () && (!(*i)->source_route() || (*i)->source_route()->active())) {