Sorry, this is probably an easy one but I can’t figure it out…
I just created a new plugin using the Projucer and I wanted to start fresh using the “Standalone Plugin” target.
I’m getting an assertion in AudioProcessor::getPlayConfigDetails.
// the processor may not support this arrangement at all
jassert (success && newNumIns == getTotalNumInputChannels() && newNumOuts == getTotalNumOutputChannels());
newNumIns is set to 1. This seems to come directly from the audio device (using a new 2018 MBP). getTotalNumInputChannels() returns 2.
Hi, I’m now running across this same issue. Testing with brand new plugin using the Projucer and used the “Standalone Plugin” target in XCode
Same assertion in AudioProcessor::setPlayConfigDetails.
// the processor may not support this arrangement at all
jassert (success && newNumIns == getTotalNumInputChannels() && newNumOuts == getTotalNumOutputChannels());
Oddly, setting the plugin to be a synthesizer (Projucer > project setting > plugin charactaristics > plugin is a synth) resolves this issue.
Are you using an audio device which doesn’t have stereo in and stereo out? The default config for the autogenerated plug-in project supports a stereo input and stereo output bus: