mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 17:03:06 +01:00
fix odd case where a deliver has no ports e.g session load.
This commit is contained in:
parent
6ea864d845
commit
104fafbdc2
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue