JucePlugin_PreferredChannelConfigurations set to {1, 1}, {2, 2}
As soon as I start playback, I get a prepareToPlay() callback in which getBusesLayout() returns a layout that has 0 channels for both input and output, instead of 1 or 2.
This can be easily reproduced creating a project from scratch in Projucer:
Create a default audio plug-in project in Projucer
Now press Play and watch the following line being printed:
In: 0, Out: 0
The expected behavior would instead be to receive another prepareToPlay() with {2, 2} upon playback start, or none at all, since the latest received before that has already set the correct {2, 2} layout
Are you on master?
I haven’t had time to test it with develop yet, it may be resolved there… in which case, can you point me to the commit which I have to cherry-pick for an hotfix?
Otherwise, the only difference I found is that you are getting the number of channels in main bus a little different than my case (but I guess it is equivalent)
You seem to already know which “those fixes” are, while I am seeing that a number of commits have affected the VST3 wrapper since latest master update.
Are you able to tell me, which commit should I cherry-pick for an hotfix to be applied on my private juce repo, which is currently on master?