So, I was debugging something else in my new fancy dp synth (that is what I am calling it for now mostly because I like the way the letters look), and I ran into a weird situation. Embarrassingly, I am stumped despite this likely being very simple to resolve.
Creating the following parameter (what I thought to be) once in the main processor class of this plugin apparently is creating this > 1 time. Or so the jassert in the AudioProcessor class would have one believe…
static const String pMethod ("pMethod"); jassert(paramNotCreatedYet(pMethod)==true); // checks with getParameter()==nullptr params.createAndAddParameter(pMethod, "pMethod", TRANS("Gen Mthd"), NormalisableRange<float> (0.0f, 1.0f, 1.0f), 0.0, nullptr, nullptr, false, true, false, AudioProcessorParameter::genericParameter);
Running in DEBUG mode, the result is shown below.
I could just ignore it as not using DEBUG, the plug does work, but that somehow seems the wrong move. Any thoughts that may point me in the right direction?