From b858b3b6924dcda7cab1f9cc9c3767e7c6c64ce6 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 23 Aug 2019 01:05:57 +0200 Subject: [PATCH] Detect monitor-send by instance, not name --- libs/ardour/route.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index a83e550c00..075ccd72c1 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -4534,10 +4534,10 @@ Route::nth_send (uint32_t n) const for (i = _processors.begin(); i != _processors.end(); ++i) { if (boost::dynamic_pointer_cast (*i)) { - if ((*i)->name().find (_("Monitor")) == 0) { + if ((*i) == _monitor_send) { /* send to monitor section is not considered - to be an accessible send. - */ + * to be an accessible send. + */ continue; }