Hi all,
I want to create a custom class using the DSP module, where the processing is done through a ProcessorChain consisting of the processor of the class plus a gain.
juce::dsp::ProcessorChain<MyClass<Type>, juce::dsp::Gain<Type>> myClassProcessorChain;
This instruction gives the error
Field has incomplete type 'juce::dsp::ProcessorChain<MyClass<float>, juce::dsp::Gain<float> >' (aka 'ChainBase<true, MyClass<float>, juce::dsp::Gain<float> >')
I can’t figure out what I am doing wrong. I have created the class inheriting from the dsp::ProcessorBase
template <typename Type>
class MyClass : public dsp::ProcessorBase
{
public:
MyClass()