|
|
@@ -1076,7 +1076,7 @@ public: |
|
|
|
// ------------------------------------------------------------------- |
|
|
|
// Plugin processing |
|
|
|
|
|
|
|
void process(const float* const* const, float** const audioOut, |
|
|
|
void process(const float* const* const, float** const audioOut, |
|
|
|
const float* const*, float**, const uint32_t frames) override |
|
|
|
{ |
|
|
|
// -------------------------------------------------------------------------------------------------------- |
|
|
@@ -1267,7 +1267,7 @@ public: |
|
|
|
setParameterValueRT(k, value, true); |
|
|
|
} |
|
|
|
|
|
|
|
if ((pData->options & PLUGIN_OPTION_SEND_CONTROL_CHANGES) != 0 && ctrlEvent.param < MAX_MIDI_CONTROL) |
|
|
|
if ((pData->options & PLUGIN_OPTION_SEND_CONTROL_CHANGES) != 0 && ctrlEvent.param < MAX_MIDI_VALUE) |
|
|
|
{ |
|
|
|
fluid_synth_cc(fSynth, event.channel, ctrlEvent.param, int(ctrlEvent.value*127.0f)); |
|
|
|
} |
|
|
|