ref: 10f95d9f3d91d3112f30be6d7ef9e9ece02bb410
parent: a09c84877de96f042e6ac545c4a7420b5049e694
author: cancel <cancel@cancel.fm>
date: Mon Jan 20 17:16:47 EST 2020
Fix incorrect status bits for portmidi midi cc
--- a/tui_main.c
+++ b/tui_main.c
@@ -1102,7 +1102,7 @@
}
#ifdef FEAT_PORTMIDI
case Midi_mode_type_portmidi: {
- int istatus = (0x9 << 4) | (int)ec->channel;
+ int istatus = (0xb << 4) | (int)ec->channel;
PmError pme = Pm_WriteShort(
midi_mode->portmidi.stream, 0,
Pm_Message(istatus, (int)ec->control, (int)ec->value));