summaryrefslogtreecommitdiffstats
path: root/src/server/BlockImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/BlockImpl.cpp')
-rw-r--r--src/server/BlockImpl.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/server/BlockImpl.cpp b/src/server/BlockImpl.cpp
index a89df669..ee6b5786 100644
--- a/src/server/BlockImpl.cpp
+++ b/src/server/BlockImpl.cpp
@@ -207,7 +207,9 @@ BlockImpl::bypass(RunContext& ctx)
PortImpl* out = nth_port_by_type(i, false, t);
if (!out) {
break; // Finished writing all outputs
- } else if (in) {
+ }
+
+ if (in) {
// Copy corresponding input to output
for (uint32_t v = 0; v < _polyphony; ++v) {
out->buffer(v)->copy(ctx, in->buffer(v).get());