Browse Source

Bug fix for program changes coming through as bank changes (#779)

tags/v1.9.12
bencrossman falkTX <falktx@gmail.com> 6 years ago
parent
commit
ee07026250
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      source/backend/engine/CarlaEnginePorts.cpp

+ 1
- 1
source/backend/engine/CarlaEnginePorts.cpp View File

@@ -258,7 +258,7 @@ bool CarlaEngineEventPort::writeMidiEvent(const uint32_t time, const uint8_t cha
CARLA_SAFE_ASSERT_RETURN(size >= 2, true); CARLA_SAFE_ASSERT_RETURN(size >= 2, true);


event.type = kEngineEventTypeControl; event.type = kEngineEventTypeControl;
event.ctrl.type = kEngineControlEventTypeMidiBank;
event.ctrl.type = kEngineControlEventTypeMidiProgram;
event.ctrl.param = data[1]; event.ctrl.param = data[1];
event.ctrl.value = 0.0f; event.ctrl.value = 0.0f;
return true; return true;


Loading…
Cancel
Save