diff options
author | cbdev <cb@cbcdn.com> | 2021-01-15 21:35:21 +0100 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2021-01-15 21:35:21 +0100 |
commit | 35f4798673194733358cd3db19a4d2baf70887fd (patch) | |
tree | b445b7012c1ef44d1d391cec178c2e39fe041c4f /backends/winmidi.c | |
parent | 8ff86335bc9f5233564a0f791174a9cc49ae2df4 (diff) | |
download | midimonster-35f4798673194733358cd3db19a4d2baf70887fd.tar.gz midimonster-35f4798673194733358cd3db19a4d2baf70887fd.tar.bz2 midimonster-35f4798673194733358cd3db19a4d2baf70887fd.zip |
Implement EPN's for the rtpmidi backend
Diffstat (limited to 'backends/winmidi.c')
-rw-r--r-- | backends/winmidi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/winmidi.c b/backends/winmidi.c index a1fa686..649af2e 100644 --- a/backends/winmidi.c +++ b/backends/winmidi.c @@ -200,7 +200,7 @@ static void winmidi_tx(HMIDIOUT port, uint8_t type, uint8_t channel, uint8_t con output.components.status = type | channel; output.components.data1 = control; - output.components.data2 = value; + output.components.data2 = value & 0x7F; if(type == pitchbend){ output.components.data1 = value & 0x7F; |