I updated to JUCE 6.0.8, and now my plugin (under development) hits an assert that it didn’t used to hit before. But the assert is in the previous version.
It hits this assert at line 603 of juce_VST3_Wrapper.cpp:
struct ProgramChangeParameter : public Vst::Parameter
{
ProgramChangeParameter (AudioProcessor& p, Vst::ParamID vstParamID)
: owner (p)
{
jassert (owner.getNumPrograms() > 1); // hits this assert
I notice some code has been changed right around this area in 6.0.8, but the assert is the same as the previous version.
owner.getNumPrograms()
calls into my AudioProcessor, for which I have this at the moment, since I have not developed this part yet:
int getNumPrograms() override { return 1; }
I thought this was the default specified behavior if you don’t have any programs. Or should I report 0?
I’m not sure what has been changed, or what I need to do differently at this moment to avoid the assert.