I’m currently trying to build a synthesizer in JUCE and hit an assert in the audio processor file when trying to open the VST in my DAW. The assert hit lies within the following function:
void AudioProcessor::validateParameter (AudioProcessorParameter* param)
{
checkForDuplicateParamID (param);
checkForDuplicateTrimmedParamID (param);
/* If you're building this plugin as an AudioUnit, and you intend to use the plugin in
Logic Pro or GarageBand, it's a good idea to set version hints on all of your parameters
so that you can add parameters safely in future versions of the plugin.
See the documentation for AudioProcessorParameter (int) for more information.
*/
#if JucePlugin_Build_AU
static std::once_flag flag;
if (wrapperType == wrapperType_Undefined || param->getVersionHint() != 0)
std::call_once (flag, { jassertfalse; });
#endif
}
Since I’m building as a VST, I’m not sure why this triggers at all. So far I have checked all of the Audio Parameter calls and ensured they had a JUCE Parameter ID, but this has had no effect on the issue.
