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; } }