13
0

fix odd case where a deliver has no ports e.g session load.

This commit is contained in:
Robin Gareus 2016-04-14 19:20:39 +02:00
parent 6ea864d845
commit 104fafbdc2

View File

@ -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;