From a46643d46a08aca1259f92167f33d2f2069667f9 Mon Sep 17 00:00:00 2001 From: Owen Green Date: Fri, 1 May 2020 16:03:47 +0100 Subject: [PATCH] Update remaining fromArgs for LocalBuf stuff --- include/FluidSCWrapper.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/FluidSCWrapper.hpp b/include/FluidSCWrapper.hpp index 8162674..b7766ae 100644 --- a/include/FluidSCWrapper.hpp +++ b/include/FluidSCWrapper.hpp @@ -163,7 +163,7 @@ public: { mControlsIterator.reset(mInBuf + mSpecialIndex + 1); // mClient.audioChannelsIn()); - Wrapper::setParams( + Wrapper::setParams(static_cast(this), mParams, mWorld->mVerbosity > 0, mWorld, mControlsIterator); // forward on inputs N + audio inputs as params mParams.constrainParameterValues(); @@ -682,9 +682,9 @@ class FluidSCWrapper : public impl::FluidSCWrapperBase template static std::enable_if_t::value, P> - fromArgs(FluidSCWrapper*,World* w, ArgType args, P&, int) + fromArgs(FluidSCWrapper* x,World* w, ArgType args, P&, int) { - return {fromArgs(w, args, std::string{}, 0).c_str()}; + return {fromArgs(x, w, args, std::string{}, 0).c_str()}; } }; @@ -951,7 +951,7 @@ class FluidSCWrapper : public impl::FluidSCWrapperBase /// (void) std::initializer_list{ (std::get(args) = ParamReader::fromArgs( - x->mWorld, inArgs, std::get(args), 0), + x, x->mWorld, inArgs, std::get(args), 0), 0)...};