Note that if you have more outputs than inputs, then only those channels that correspond to an input channel are guaranteed to contain sensible data - e.g. in the case of 2 inputs and 4 outputs, the first two channels contain the input, but the last two channels may contain garbage, so you should be careful not to let this pass through without being overwritten or cleared.
So because renderNextBlock adds to the values in the buffer instead of overwriting them, I think the output buffer should be zeroed before calling renderNextBlock.
The JUCE docs say that:
So because
renderNextBlock
adds to the values in the buffer instead of overwriting them, I think the output buffer should be zeroed before callingrenderNextBlock
.This seems to fix the issues on Linux that @Exagone313 mentioned.