From 42a42c99b760ef5e2632f1701a2a9d5fb3626361 Mon Sep 17 00:00:00 2001 From: Kristian Amlie Date: Wed, 26 Mar 2025 09:21:49 +0100 Subject: [PATCH] Fix broken program and bank messages for Jack applications. It appears to simply be a typo. MAP_PROGRAM_CHANGES is not an available option for Jack applications, only SEND_PROGRAM_CHANGES is. Signed-off-by: Kristian Amlie --- source/backend/plugin/CarlaPluginJack.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/backend/plugin/CarlaPluginJack.cpp b/source/backend/plugin/CarlaPluginJack.cpp index 769cd3b20..6af892161 100644 --- a/source/backend/plugin/CarlaPluginJack.cpp +++ b/source/backend/plugin/CarlaPluginJack.cpp @@ -1138,7 +1138,7 @@ public: break; case kEngineControlEventTypeMidiBank: - if (pData->options & PLUGIN_OPTION_MAP_PROGRAM_CHANGES) + if (pData->options & PLUGIN_OPTION_SEND_PROGRAM_CHANGES) { fShmRtClientControl.writeOpcode(kPluginBridgeRtClientControlEventMidiBank); fShmRtClientControl.writeUInt(event.time); @@ -1149,7 +1149,7 @@ public: break; case kEngineControlEventTypeMidiProgram: - if (pData->options & PLUGIN_OPTION_MAP_PROGRAM_CHANGES) + if (pData->options & PLUGIN_OPTION_SEND_PROGRAM_CHANGES) { fShmRtClientControl.writeOpcode(kPluginBridgeRtClientControlEventMidiProgram); fShmRtClientControl.writeUInt(event.time);