Browse Source

jsfx: ensure to invoke @slider after a change of sample rate

pull/1503/head
Jean Pierre Cimalando Filipe Coelho <falktx@falktx.com> 3 years ago
parent
commit
30f70199da
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      source/modules/jsusfx/source/jsusfx.cpp

+ 1
- 0
source/modules/jsusfx/source/jsusfx.cpp View File

@@ -996,6 +996,7 @@ void JsusFx::prepare(int sampleRate, int blockSize) {
*srate = (double) sampleRate; *srate = (double) sampleRate;
*samplesblock = blockSize; *samplesblock = blockSize;
NSEEL_code_execute(codeInit); NSEEL_code_execute(codeInit);
computeSlider = true;
} }


void JsusFx::moveSlider(int idx, float value, int normalizeSlider) { void JsusFx::moveSlider(int idx, float value, int normalizeSlider) {


Loading…
Cancel
Save