projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5596797
)
very very slightly more robust exclusion of monitor send from Route::nth_send()
author
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 1 Feb 2016 03:46:00 +0000
(22:46 -0500)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 1 Feb 2016 03:46:00 +0000
(22:46 -0500)
some sessions name that send "Monitor" and some "Monitor 1"
The correct solution is a test of whether the send is connected to the monitor section.
libs/ardour/route.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/route.cc
b/libs/ardour/route.cc
index 4dce24d9fbe45bee27014377e9d0c16644fca485..d8c5c2e3b77f4b8fe06c6ed4250877baadf0ba28 100644
(file)
--- a/
libs/ardour/route.cc
+++ b/
libs/ardour/route.cc
@@
-4264,7
+4264,7
@@
Route::nth_send (uint32_t n) const
for (i = _processors.begin(); i != _processors.end(); ++i) {
if (boost::dynamic_pointer_cast<Send> (*i)) {
- if ((*i)->name()
== _("Monitor 1")
) {
+ if ((*i)->name()
.find (_("Monitor")) == 0
) {
/* send to monitor section is not considered
to be an accessible send.
*/