class HRTFProcessor : public ProcessorBase
{
public:
HRTFProcessor();
~HRTFProcessor();
//===Getters===//
float getElevation();
float getAzimuth();
juce::String getFileName();
//===Setters===//
void setElevation(float elevation);
void setAzimuth(float azimuth);
void setFileName(juce::String fileName);
void reset() override;
void processBlock(juce::AudioBuffer<float>& buffer, juce::MidiBuffer&) override;
void processBlock(juce::AudioBuffer<double>& buffer, juce::MidiBuffer&) override;
void prepareToPlay(double sampleRate, int samplesPerBlock) override;
const juce::String getName() const override;
//===SOFA==//
// void getSOFAdata(std::vector<double> coordinates);
std::vector<double> extractCoordinates(juce::String fileName);
// std::string getSOFAinfo();
juce::dsp::Convolution convolver;
static float staticElevation;
static float staticAzimuth;
In this code, where I declare: juce::dsp::Convolution convolver;
I get the compiler error: dsp is not a member of juce.
Normally, this is a trivial issue, But I have included the correct Module, and this error has only started since adding the ‘Recommended compiler flags’ option in the Projucer.
Any Ideas on the cause and how to fix would be greatly appreciated.
Many thanks