The code at this assertion says “if this assertion is hit file a bug” so I’m here to try and troubleshoot it.
I have a Juce-based plug-in that I’m loading in a Juce-based host, both on Linux. The plug-in itself is an instrument, takes no inputs, and getDefaultLayoutForChannelNumAndBus correctly returns AudioChannelSet::disabled(). Accordingly the filter returns true when setting this as the preferred bus arrangement, so the assert jassert ((! set.isDisabled()) && success); fires.
Immediately afterwards, the host process is killed due to a floating point exception for reasons I can’t discern since all the variables displayed in the debugger make sense.
Should I be overriding my plug-in’s setPreferredBusArrangement to return false if a disabled set is provided even though it is technically a totally acceptable bus arrangement? Is there some other bit of information I’m missing?
