diff --git a/libs/sst/sst-effects b/libs/sst/sst-effects index eb3ae4c9c5c..c6bdfc3f358 160000 --- a/libs/sst/sst-effects +++ b/libs/sst/sst-effects @@ -1 +1 @@ -Subproject commit eb3ae4c9c5c3adf4de3dc234a376cd3d8da6cc77 +Subproject commit c6bdfc3f358e1815d3412603bdab2015900e3b0b diff --git a/src/common/dsp/effects/SurgeSSTFXAdapter.h b/src/common/dsp/effects/SurgeSSTFXAdapter.h index ecaa774b527..5cbca8a9c07 100644 --- a/src/common/dsp/effects/SurgeSSTFXAdapter.h +++ b/src/common/dsp/effects/SurgeSSTFXAdapter.h @@ -148,12 +148,12 @@ struct SurgeFXConfig static inline float dbToLinear(GlobalStorage *s, float f) { return s->db_to_linear(f); } }; -template class Has_processControlOnly +template class Has_processOnlyControl { using No = uint8_t; using Yes = uint64_t; static_assert(sizeof(No) != sizeof(Yes)); - template static Yes test(decltype(C::processControlOnly) *); + template static Yes test(decltype(&C::processOnlyControl) *); template static No test(...); public: @@ -270,11 +270,11 @@ template struct SurgeSSTFXBase : T } } - void process_control_only() + void process_only_control() override { - if constexpr (sstfx::Has_processControlOnly::value) + if constexpr (sstfx::Has_processOnlyControl::value) { - this->processControlOnly(); + this->processOnlyControl(); } } };