From 30f70199dab2de5a87b9ed9dfec9104e19b19529 Mon Sep 17 00:00:00 2001 From: Jean Pierre Cimalando Date: Sun, 31 Oct 2021 21:32:30 +0100 Subject: [PATCH] jsfx: ensure to invoke @slider after a change of sample rate --- source/modules/jsusfx/source/jsusfx.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/modules/jsusfx/source/jsusfx.cpp b/source/modules/jsusfx/source/jsusfx.cpp index cfb7dea2e..0386da377 100644 --- a/source/modules/jsusfx/source/jsusfx.cpp +++ b/source/modules/jsusfx/source/jsusfx.cpp @@ -996,6 +996,7 @@ void JsusFx::prepare(int sampleRate, int blockSize) { *srate = (double) sampleRate; *samplesblock = blockSize; NSEEL_code_execute(codeInit); + computeSlider = true; } void JsusFx::moveSlider(int idx, float value, int normalizeSlider) {