I'm nearing completion of my plugin but I've run in to a problem when testing in Presonus Studio One (on Mac).
Specifically the problem is that the AU version of the plugin always opens in stereo mode whether the underlying track is stereo or mono. In the case of a mono track, I've confirmed that the second input channel that I recieve in processBlock() is garbage data.
I'm currently using "{2, 2}, {1, 1}" for JucePlugin_PreferredChannelConfigurations.
If I use "{1, 1}, {2, 2}" then the AU version always loads as mono. If I comment out the SetStreamFormat code (lines 180-188 in juce_AU_Wrapper.mm) then it returns to always being stereo.
The VST (2.4) version of the plugin runs correctly (i.e. mono tracks -> mono mode, etc).
Is this a bug in Studio One and should I advise my users to not use the AU version in it? Or can anyone advise me on some other way to fix this behavior?
Thanks, -Joe Barker