summaryrefslogtreecommitdiffstats
path: root/src/server/InputPort.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/InputPort.cpp')
-rw-r--r--src/server/InputPort.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/InputPort.cpp b/src/server/InputPort.cpp
index cfc43526..2baa8ff7 100644
--- a/src/server/InputPort.cpp
+++ b/src/server/InputPort.cpp
@@ -58,8 +58,9 @@ bool
InputPort::apply_poly(RunContext& context, uint32_t poly)
{
bool ret = PortImpl::apply_poly(context, poly);
- if (!ret)
+ if (!ret) {
poly = 1;
+ }
assert(_voices->size() >= poly);