Hello, I wonder could anyone help, I was following the Kadnze tutorials to build a plugin, but got this error:
Constructor for ‘KadenzeAudioProcessor’ must explicitly initialize the member ‘mGainParameter’ which does not have a default constructor
No viable overloaded ‘=’
KadenzeAudioProcessor::KadenzeAudioProcessor()
#ifndef JucePlugin_PreferredChannelConfigurations
: AudioProcessor (BusesProperties()
#if ! JucePlugin_IsMidiEffect
#if ! JucePlugin_IsSynth
.withInput (“Input”, juce::AudioChannelSet::stereo(), true)
#endif
.withOutput (“Output”, juce::AudioChannelSet::stereo(), true)
#endif
)
#endif
{
addParameter(mGainParameter = new juce::AudioParameterFloat(“gain”,“Gain”,0.0f,1.0f,0.5f));
}
Is this the right way to paste code in this forum?
Thanks