diff options
Diffstat (limited to 'src/server/InputPort.cpp')
-rw-r--r-- | src/server/InputPort.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/server/InputPort.cpp b/src/server/InputPort.cpp index 3bc1ed95..5133758c 100644 --- a/src/server/InputPort.cpp +++ b/src/server/InputPort.cpp @@ -178,6 +178,10 @@ InputPort::pre_run(RunContext& context) const uint32_t max_n_srcs = _arcs.size() * src_poly + 1; for (uint32_t v = 0; v < _poly; ++v) { + if (!buffer(v)->get<void>()) { + continue; + } + // Get all sources for this voice const Buffer* srcs[max_n_srcs]; uint32_t n_srcs = 0; |