diff options
author | David Robillard <d@drobilla.net> | 2025-02-10 15:32:45 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2025-02-10 16:07:44 -0500 |
commit | b0061fed8af0fb2517e643328357ace995042a0e (patch) | |
tree | 053640e1db1f462f45a5125fb133a04519fc6e90 /src/server/InputPort.cpp | |
parent | 270c5ae9ff1fda19864b9aea9232f3cd48c879a8 (diff) | |
download | ingen-b0061fed8af0fb2517e643328357ace995042a0e.tar.gz ingen-b0061fed8af0fb2517e643328357ace995042a0e.tar.bz2 ingen-b0061fed8af0fb2517e643328357ace995042a0e.zip |
Fully parenthesize expressions
Diffstat (limited to 'src/server/InputPort.cpp')
-rw-r--r-- | src/server/InputPort.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/InputPort.cpp b/src/server/InputPort.cpp index c22e8510..eac62d34 100644 --- a/src/server/InputPort.cpp +++ b/src/server/InputPort.cpp @@ -177,7 +177,7 @@ InputPort::pre_run(RunContext& ctx) { if ((_user_buffer || !_arcs.empty()) && !direct_connect()) { const uint32_t src_poly = max_tail_poly(ctx); - const uint32_t max_n_srcs = _arcs.size() * src_poly + 1; + const uint32_t max_n_srcs = (_arcs.size() * src_poly) + 1; for (uint32_t v = 0; v < _poly; ++v) { if (!buffer(v)->get<void>()) { |