Auv3 synth example (iOS) - isBusesLayoutSupported () typo


#1

Correct me if I’m wrong, but if I don’t change it, It’s ending up in an assertion. There seems to be a typo in the isBusesLayoutSupported () method of class AUv3SynthProcessor:
Instead of:

bool isBusesLayoutSupported (const BusesLayout& layouts) const override
{
    return (layouts.getMainInputChannels() == 2);
}

use:

bool isBusesLayoutSupported (const BusesLayout& layouts) const override
{
    return (layouts.getMainOutputChannels() == 2);
}

#2

Yes, absolutely. Thanks for reporting. A fix will appear on develop in a few minutes.