I am having a hard time reproducing the juce demo plugin parameters system.
It seems quite simple but the following lines aren't compiling :
AudioParameterFloat* gainParam; gainParam = new AudioParameterFloat("gain", "Gain", 0.0f, 1.0f, 0.9f); addParameter(gainParam);
In particular the last line (addParameter(gainParam)) is showing an error, saying that "argument of type "juce::AudioParameterFloat *" is incompatible with parameter of type "juce::AudioProcessorParameter *" "
Which is surprising, since after checking the documentation AudioParameterFloat is inheriting from AudioProcessorParameter (which is the type required by addParameter)...
Any hint ?
Thanks a lot,