From ee07026250441042d9a65ebc3909917152fa3484 Mon Sep 17 00:00:00 2001 From: bencrossman Date: Tue, 16 Oct 2018 16:18:22 +1000 Subject: [PATCH] Bug fix for program changes coming through as bank changes (#779) --- source/backend/engine/CarlaEnginePorts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/backend/engine/CarlaEnginePorts.cpp b/source/backend/engine/CarlaEnginePorts.cpp index e1b497e0b..8465da5ac 100644 --- a/source/backend/engine/CarlaEnginePorts.cpp +++ b/source/backend/engine/CarlaEnginePorts.cpp @@ -258,7 +258,7 @@ bool CarlaEngineEventPort::writeMidiEvent(const uint32_t time, const uint8_t cha CARLA_SAFE_ASSERT_RETURN(size >= 2, true); event.type = kEngineEventTypeControl; - event.ctrl.type = kEngineControlEventTypeMidiBank; + event.ctrl.type = kEngineControlEventTypeMidiProgram; event.ctrl.param = data[1]; event.ctrl.value = 0.0f; return true;