commit 856eb4283002022c20017770137f6762c4bb62b7
parent a03ae96337bbe2332924b3856613089e176644e7
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date: Wed, 4 Dec 2024 00:06:33 +0100
apply patch name before sending it to device
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/source/mqJucePlugin/mqPatchManager.cpp b/source/mqJucePlugin/mqPatchManager.cpp
@@ -109,7 +109,7 @@ namespace mqJucePlugin
bool PatchManager::activatePatch(const pluginLib::patchDB::PatchPtr& _patch, uint32_t _part)
{
- m_controller.sendSingle(_patch->sysex, static_cast<uint8_t>(_part));
+ m_controller.sendSingle(applyModifications(_patch), static_cast<uint8_t>(_part));
return true;
}
}
diff --git a/source/xtJucePlugin/xtPatchManager.cpp b/source/xtJucePlugin/xtPatchManager.cpp
@@ -165,7 +165,7 @@ namespace xtJucePlugin
bool PatchManager::activatePatch(const pluginLib::patchDB::PatchPtr& _patch, const uint32_t _part)
{
- if(!m_controller.sendSingle(_patch->sysex, static_cast<uint8_t>(_part)))
+ if(!m_controller.sendSingle(applyModifications(_patch), static_cast<uint8_t>(_part)))
{
juce::NativeMessageBox::showMessageBoxAsync(juce::MessageBoxIconType::WarningIcon,
m_editor.getProcessor().getProperties().name + " - Unable to load patch",