Hello,
It’s weird, my plugin outputs only mono audio on Cubase 9. I have the following in my AudioProcessor
bool NebulaAudioProcessor::isBusesLayoutSupported (const BusesLayout& layouts) const
{
// Only mono/stereo and input/output must have same layout
const AudioChannelSet& mainInput = layouts.getMainInputChannelSet();
const AudioChannelSet& mainOutput = layouts.getMainOutputChannelSet();
// input and output layout must be the same
if (mainInput != mainOutput) return false;
// do not allow disabling the main buses
if (mainInput.isDisabled()) return false;
// only allow stereo
if (mainInput.size() != 2) return false;
return true;
}
Debugging the code, the same pointer is pushed into each channel of the incoming buffer, so that even though it says there’s 2 channels actually the output is mono as both the channels are the same.
@fabian Sorry to poke, I know you’re busy. I tried updated to the tip of the dev branch but it didn’t solve the problem. What was the bug that was fixed in the dev branch? I tried digging through the commits but I got a bit lost since they aren’t tied to issues.
I’m a bit stuck with this and people are getting a bit miffed.
Thanks