Browse Source

Fix crash with clap plugins without MIDI input

Signed-off-by: falkTX <falktx@falktx.com>
pull/1834/head
falkTX 1 year ago
parent
commit
41f07e1192
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      source/backend/plugin/CarlaPluginCLAP.cpp

+ 1
- 1
source/backend/plugin/CarlaPluginCLAP.cpp View File

@@ -2158,7 +2158,7 @@ public:

for (uint32_t i=0; i < numSysEvents; ++i)
{
EngineEvent& event(fInputEvents.defaultPort->port->getEvent(i));
EngineEvent& event(pData->event.portIn->getEvent(i));

uint32_t eventTime = event.time;
CARLA_SAFE_ASSERT_UINT2_CONTINUE(eventTime < frames, eventTime, frames);


Loading…
Cancel
Save