From 27a35c9adf67b1e7ec9b276f7b16921d92b22b9e Mon Sep 17 00:00:00 2001 From: Joshua Peschke Date: Fri, 16 Mar 2018 02:18:34 +0100 Subject: [PATCH] Updated some things to get it to work with Juce 5.2 --- source/FaustAudioPluginInstance.cpp | 2 +- source/FaustAudioPluginInstance.h | 4 ++-- source/FaustGenFactory.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source/FaustAudioPluginInstance.cpp b/source/FaustAudioPluginInstance.cpp index 476f040..f2a1330 100644 --- a/source/FaustAudioPluginInstance.cpp +++ b/source/FaustAudioPluginInstance.cpp @@ -392,7 +392,7 @@ void FaustAudioPluginInstance::addVerticalBargraph(const char* label, FAUSTFLOAT //TODO: } -void FaustAudioPluginInstance::addSoundfile(const char* label, Soundfile** sf_zone) +void FaustAudioPluginInstance::addSoundfile(const char* label, const char* filename, Soundfile** sf_zone) { //TODO: } diff --git a/source/FaustAudioPluginInstance.h b/source/FaustAudioPluginInstance.h index 6ecd56a..fda67c0 100644 --- a/source/FaustAudioPluginInstance.h +++ b/source/FaustAudioPluginInstance.h @@ -100,8 +100,8 @@ class FaustAudioPluginInstance : public AudioPluginInstance void addNumEntry(const char* label, FAUSTFLOAT* zone, FAUSTFLOAT init, FAUSTFLOAT min, FAUSTFLOAT max, FAUSTFLOAT step) override; void addHorizontalBargraph(const char* label, FAUSTFLOAT* zone, FAUSTFLOAT min, FAUSTFLOAT max) override; void addVerticalBargraph(const char* label, FAUSTFLOAT* zone, FAUSTFLOAT min, FAUSTFLOAT max) override; - void addSoundfile(const char* label, Soundfile** sf_zone) override; - + void addSoundfile(const char* label, const char* filename, Soundfile** sf_zone) override; + // Unique void createDSP(); void freeDSP(); diff --git a/source/FaustGenFactory.cpp b/source/FaustGenFactory.cpp index b7e7474..e8dfaab 100644 --- a/source/FaustGenFactory.cpp +++ b/source/FaustGenFactory.cpp @@ -138,7 +138,7 @@ llvm_dsp_factory* FaustgenFactory::createFactoryFromSourceCode(FaustAudioPluginI { instance->highlightON(error); } - LOG("Invalid Faust code or compile options:" + error); + LOG("Invalid Faust code or compile options:" + error); return 0; } }