Browse Source

Workaround for CLAP plugins that rely on gesture begin/end

Signed-off-by: falkTX <falktx@falktx.com>
main
falkTX 2 months ago
parent
commit
2deaafde10
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      source/backend/plugin/CarlaPluginCLAP.cpp

+ 4
- 0
source/backend/plugin/CarlaPluginCLAP.cpp View File

@@ -671,6 +671,10 @@ struct carla_clap_output_events : clap_output_events_t, CarlaPluginClapEventData
case CLAP_EVENT_MIDI:
e.midi = *static_cast<const clap_event_midi_t*>(static_cast<const void*>(event));
break;
case CLAP_EVENT_PARAM_GESTURE_BEGIN:
case CLAP_EVENT_PARAM_GESTURE_END:
// TODO for now be nice to the plugins that require this
return true;
default:
return false;
}


Loading…
Cancel
Save