aboutsummaryrefslogtreecommitdiff
path: root/core/qmpmidioutfluid.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/qmpmidioutfluid.cpp')
-rw-r--r--core/qmpmidioutfluid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/qmpmidioutfluid.cpp b/core/qmpmidioutfluid.cpp
index 56e71a0..65db825 100644
--- a/core/qmpmidioutfluid.cpp
+++ b/core/qmpmidioutfluid.cpp
@@ -151,7 +151,7 @@ void qmpMidiOutFluid::basicMessage(uint8_t type, uint8_t p1, uint8_t p2)
void qmpMidiOutFluid::extendedMessage(uint32_t length, const char *data)
{
int rlen = 0;
- fluid_synth_sysex(synth, data, int(length), nullptr, &rlen, nullptr, 0);
+ fluid_synth_sysex(synth, data + 1, int(length) - 2, nullptr, &rlen, nullptr, 0);
}
void qmpMidiOutFluid::rpnMessage(uint8_t ch, uint16_t type, uint16_t val)
{