projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ea864d
)
fix odd case where a deliver has no ports e.g session load.
author
Robin Gareus
<robin@gareus.org>
Thu, 14 Apr 2016 17:20:39 +0000
(19:20 +0200)
committer
Robin Gareus
<robin@gareus.org>
Thu, 14 Apr 2016 17:20:39 +0000
(19:20 +0200)
libs/ardour/delivery.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/delivery.cc
b/libs/ardour/delivery.cc
index b31802e894bd568928fc9c305ef2c054a537fcb7..c538f6be8a5d597bb572cde045c313e54e6b731c 100644
(file)
--- a/
libs/ardour/delivery.cc
+++ b/
libs/ardour/delivery.cc
@@
-236,6
+236,10
@@
Delivery::run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame, pf
PortSet& ports (_output->ports());
gain_t tgain;
+ if (ports.num_ports () == 0) {
+ goto out;
+ }
+
if (!_active && !_pending_active) {
_output->silence (nframes);
goto out;