projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66686a4
)
monitor send does not count in Route::nth_send()
author
Paul Davis
<paul@linuxaudiosystems.com>
Wed, 27 Jan 2016 21:26:41 +0000
(16:26 -0500)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Wed, 27 Jan 2016 21:26:41 +0000
(16:26 -0500)
libs/ardour/route.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/route.cc
b/libs/ardour/route.cc
index 9c724980f0e650970c7886c3f2cc0fe773e65654..9f29dbad758d5b995deb0f182c433b5ec8f3c0e6 100644
(file)
--- a/
libs/ardour/route.cc
+++ b/
libs/ardour/route.cc
@@
-4515,6
+4515,14
@@
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")) {
+ /* send to monitor section is not considered
+ to be an accessible send.
+ */
+ continue;
+ }
+
if (n-- == 0) {
return *i;
}